Commit 087b9f97 authored by jay's avatar jay
Browse files

Updates travis to use environment.yml

parent fb24eb67
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -40,9 +40,9 @@ install:
  - conda config --add channels usgs-astrogeology
  - conda config --add channels conda-forge
  - if $HAS_GDAL; then
      conda install libgdal gdal numpy pyproj h5py pvl scipy protobuf affine jinja2 networkx pandas sqlalchemy pyyaml ncurses pytest pytest-cov sh coveralls nbsphinx;
      conda env update -n test -f environment.yml;
    else
      conda install numpy pyproj h5py pvl scipy protobuf affine jinja2 networkx pandas sqlalchemy pyyaml ncurses pytest pytest-cov sh coveralls nbsphinx;
      conda env update -n test -f environment_noGDAL.yml;
    fi

script:
+6 −3
Original line number Diff line number Diff line
@@ -20,3 +20,6 @@ dependencies:
  - ncurses 
  - pytest 
  - pytest-cov 
  - sh 
  - coveralls 
  - nbsphinx
 No newline at end of file

environment_noGDAL.yml

0 → 100644
+23 −0
Original line number Diff line number Diff line
name: plio
channels:
  - conda-forge
  - usgs-astrogeology
dependencies:
  - numpy 
  - pyproj 
  - h5py 
  - pvl 
  - scipy 
  - protobuf 
  - affine 
  - jinja2 
  - networkx 
  - pandas 
  - sqlalchemy 
  - pyyaml 
  - ncurses 
  - pytest 
  - pytest-cov 
  - sh 
  - coveralls 
  - nbsphinx
 No newline at end of file