Skip to content
This repository has been archived by the owner on May 1, 2020. It is now read-only.

Commit

Permalink
test with miniconda
Browse files Browse the repository at this point in the history
  • Loading branch information
pumpikano committed Jan 6, 2016
1 parent d9ef564 commit 0a2a0a0
Showing 1 changed file with 17 additions and 11 deletions.
28 changes: 17 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,23 @@
language: python
python: 2.7
env:
- TOX_ENV=py26
- TOX_ENV=py27
install:
python:
- "2.6"
- "2.7"
before_install:
- sudo apt-get update -qq
- sudo apt-get install -qq libatlas-dev libatlas-base-dev liblapack-dev gfortran
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b
- export PATH=/home/travis/miniconda/bin:$PATH
- conda update --yes conda
install:
- travis_retry conda install --yes python=$TRAVIS_PYTHON_VERSION pip numpy scipy
- travis_retry pip install nose nose-cov coveralls setuptools
- cd python/
- pip install --upgrade pip setuptools tox virtualenv coveralls
script:
- cd python/
- tox -v -v -e $TOX_ENV
- travis_retry python setup.py install
script: nosetests --exe --with-xunit --xunit-file=nosetests.xml --with-coverage --cover-xml --cover-erase --cover-package=lopq --cover-xml-file=cobertura.xml test/tests.py
after_success:
coveralls
after_failure:
- for X in .tox/$TOX_ENV/log/*; do echo "$X\n"; cat "$X"; echo "\n\n"; done
- echo "pip.log\n"; cat $HOME/.pip/pip.log
- echo "pip.log\n"; cat $HOME/.pip/pip.log
cache: apt

0 comments on commit 0a2a0a0

Please sign in to comment.