move to conda for testing
language: python
-sudo: true
python:
- "3.5"
-# command to install dependencies
-virtualenv:
- system_site_packages: true
-before_install:
- - sudo apt-get install python-numpy python-scipy
install:
- - pip3 install nose
- - pip3 install biopython
- - python3 setup.py build
- - python3 setup.py install
-# command to run tests
+ - sudo apt-get update
+ - wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
+ - bash miniconda.sh -b -p $HOME/miniconda
+ - export PATH="$HOME/miniconda/bin:$PATH"
+ - hash -r
+ - conda config --set always_yes yes --set changeps1 no
+ - conda update -q conda
+ # Useful for debugging any issues with conda
+ - conda info -a
+
+ - conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION numpy scipy biopython nose
+ - source activate test-environment
+ - python setup.py install
script:
- bash .travis_test.sh
