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

Testing using conda env

parent 7169beaa
Loading
Loading
Loading
Loading
+13 −3
Original line number Diff line number Diff line
@@ -5,7 +5,10 @@ branches:
only:
  - master

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

before_install:

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

  # Create autocnet env
  # Create a virtual env and install dependencies
  - conda create env
  - source activate autocnet
  - 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
  # Development installation
  - conda install nose coverage
  - pip install coveralls
+14 −9
Original line number Diff line number Diff line
name: autocnet
name: autocnet2
channels:
  - conda-forge
  - jlaura
  - menpo
dependencies:
  - python=3
  - libpng
  - opencv3=3.0.0
  - gdal>1.11.2
  - gdal
  - h5py
  - pip:
    - pvl
    - pysal
    - protobuf
  - cython
  - matplotlib
  - dill
  - jupyter
  - networkx
  - numexpr
  - numpy>1.10.0
  - pandas
  - pillow
  - pyaml
  - scipy>1.17.0
  - pyyaml
  - scipy>0.17.0
  - sqlalchemy
  - pip:
    - pillow
    - pvl
    - pysal
    - protobuf