Commit f2fe538a by peastman

Yet another attempt at fixing travis error

parent 2e6ce24f
...@@ -11,16 +11,22 @@ install: ...@@ -11,16 +11,22 @@ install:
- export PATH=$HOME/miniconda/bin:$PATH - export PATH=$HOME/miniconda/bin:$PATH
script: script:
# Add conda channel # Create a test environment
- conda config --add channels $ORGNAME - 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 - conda config --add channels https://conda.anaconda.org/omnia/label/dev
# Build the recipe # Build the recipe
- conda build devtools/conda-recipe - conda build devtools/conda-recipe
# Test the local installation # Install the package
- source activate _test - conda install --yes --use-local ${PACKAGENAME}-dev
# Install testing dependencies
- conda install --yes --quiet nose nose-timer - conda install --yes --quiet nose nose-timer
# Run tests # Test the package
- cd devtools && nosetests $PACKAGENAME --nocapture --verbosity=2 --with-doctest --with-timer -a "\!slow" && cd .. - cd devtools && nosetests $PACKAGENAME --nocapture --verbosity=2 --with-timer --with-doctest -a '!slow' && cd ..
env: env:
matrix: matrix:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment