Commit 53ed63af authored by Jay's avatar Jay Committed by Jason R Laura
Browse files

Swaps from the requirements / pip / conda mix to just conda env.

parent 51440e85
Loading
Loading
Loading
Loading
+7 −15
Original line number Diff line number Diff line
@@ -5,10 +5,7 @@ branches:
only:
  - master

python:
  - "3.5"

before_install:
# We manually install Python via conda, so omit python 3.5 from here.

install:
  # We do this conditionally because it saves us some downloading if the
@@ -26,17 +23,12 @@ install:
  # Useful for debugging any issues with conda
  - conda info -a

  # Create a virtual env and install dependencies
  - conda create -y -q -n test-env python=$TRAVIS_PYTHON_VERSION nose numpy pillow scipy pandas networkx scikit-image sqlalchemy numexpr dill cython pyyaml
  # Activate the env
  - source activate test-env

  # Install the non-conda packages if required, requirements.txt duplicates are ignored
  - conda install -c https://conda.anaconda.org/jlaura opencv3=3.0.0
  - conda config --add channels conda-forge
  - conda install -c https://conda.anaconda.org/conda-forge gdal h5py
  - pip install -r requirements.txt
  - pip install coverage
  # Create autocnet env
  - conda create env
  - source activate autocnet

  # Development installation
  - conda install nose coverage
  - pip install coveralls

script:

environment.yml

0 → 100644
+24 −0
Original line number Diff line number Diff line
name: autocnet
channels:
  - conda-forge
  - jlaura
dependencies:
  - jlaura:
    - opencv3=3.0.0
  - conda-forge:
    - gdal>1.11.2
    - h5py
  - pip:
    - pvl
    - pysal
    - protobuf
  - cython
  - dill
  - networkx
  - numexpr
  - numpy>1.10.0
  - pandas
  - pillow
  - pyaml
  - scipy>1.17.0
  - sqlalchemy