@@ -7,25 +7,43 @@ addons:
77 apt :
88 packages :
99 # Needed for NetMHC
10- tcsh
11- env :
12- global :
13- # MHC_BUNDLE_PASS
14- - secure : " TIminZrp9m1kMXhemqz8Zx4BjojIoEYZJnNrDrL6T/pKMpP5FQ6sprj8meGfNse4ApRIPmp5lhqxbPOe7Cg7ooetIcORekjRueHwRkYXqgMbgffgZYuEJTAGLKFsBDEXFD1kWT7igmvXFsP1T0bb1TxRPK93Q5G+e1dEAm6Iqwo="
15- # Setup anaconda for easily running scipy on Travis; see https://gist.github.com/dan-blanchard/7045057
10+ - tcsh
11+ # install pandoc for use with pypandoc for converting the README
12+ # from markdown to RST
13+ - pandoc
1614before_install :
17- - wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
18- - chmod +x miniconda.sh
19- - ./miniconda.sh -b
20- - export PATH=/home/travis/miniconda/bin:$PATH
21- - conda update --yes conda
15+ # Commands below copied from: http://conda.pydata.org/docs/travis.html
16+ # We do this conditionally because it saves us some downloading if the
17+ # version is the same.
18+ - if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then
19+ wget https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh;
20+ else
21+ wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
22+ fi
23+ - bash miniconda.sh -b -p $HOME/miniconda
24+ - export PATH="$HOME/miniconda/bin:$PATH"
25+ # reset the shell's lookup table for program name to path mappings
26+ - hash -r
27+ - conda config --set always_yes yes --set changeps1 no
28+ - conda update -q conda
29+ # Useful for debugging any issues with conda
30+ - conda info -a
31+ # install netmhcbundle
2232 -
git clone https://mhcbundle:[email protected] /hammerlab/netmhc-bundle.git 2333 - export NETMHC_BUNDLE_HOME=$PWD/netmhc-bundle
2434 - mkdir tmp
2535 - export NETMHC_BUNDLE_TMPDIR=$PWD/tmp
2636 - export PATH=$PATH:$NETMHC_BUNDLE_HOME/bin
37+ env :
38+ global :
39+ # MHC_BUNDLE_PASS
40+ - secure : " TIminZrp9m1kMXhemqz8Zx4BjojIoEYZJnNrDrL6T/pKMpP5FQ6sprj8meGfNse4ApRIPmp5lhqxbPOe7Cg7ooetIcORekjRueHwRkYXqgMbgffgZYuEJTAGLKFsBDEXFD1kWT7igmvXFsP1T0bb1TxRPK93Q5G+e1dEAm6Iqwo="
2741install :
28- - conda install --yes python=$TRAVIS_PYTHON_VERSION numpy scipy nose pandas matplotlib
42+ - >
43+ conda create -q -n test-environment python=$TRAVIS_PYTHON_VERSION
44+ numpy scipy nose pandas matplotlib
45+ - source activate test-environment
46+ - pip install pypandoc
2947 - pip install -r requirements.txt
3048 - pip install .
3149 - pip install coveralls
0 commit comments