Skip to content

Commit

Permalink
Merge pull request #117 from choderalab/fix-travis
Browse files Browse the repository at this point in the history
Fix travis after conda build 2.0.0 update
  • Loading branch information
jchodera authored Sep 6, 2016
2 parents f96b203 + dd4b28d commit c235d2b
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,23 @@ install:
- export PATH=$HOME/miniconda/bin:$PATH

script:
- conda config --add channels $ORGNAME
# Create a test environment
- conda create --yes -n test python=$python
# Activate the test environment
- source activate test
# Add org channel
- conda config --add channels ${ORGNAME}
# Add omnia dev channels
- conda config --add channels https://conda.anaconda.org/omnia/label/dev
# Build the recipe
- conda build devtools/conda-recipe
- source activate _test
# Install the package
- conda install --yes --use-local ${PACKAGENAME}-dev
# Install testing dependencies
- conda install --yes --quiet nose nose-timer
- cd devtools && nosetests $PACKAGENAME --nocapture --verbosity=2 --with-doctest --with-timer && cd ..
# Test the package
- cd devtools && nosetests $PACKAGENAME --nocapture --verbosity=2 --with-timer --with-doctest -a '!slow' && cd ..

env:
matrix:
- python=2.7 CONDA_PY=27
Expand Down

0 comments on commit c235d2b

Please sign in to comment.