Bugfix: .travis.yml
@@ -22,13 +22,15 @@ before_install:
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- conda config --add channels conda-forge
+ - conda config --set always_yes yes --set changeps1 no
install:
- - conda install --yes python=$TRAVIS_PYTHON_VERSION --file requirements/conda_requirements.txt
+ - conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION
+ - source activate test-environment
+ - conda install --yes --file requirements/conda_requirements.txt
- pip install -r requirements/test_requirements.txt
- pip install Cython --install-option="--no-cython-compile"
- pip install pkgconfig
- - pip uninstall porespy --yes
- python setup.py install
script: pytest --pep8 --cov=./
