forked from qutip/qutip
/
.travis.yml
31 lines (25 loc) · 825 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
language: python
python:
- 2.7
- 3.4
before_install:
- uname -a
- 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
# command to install dependencies
install:
- conda install --yes python=$TRAVIS_PYTHON_VERSION pip numpy scipy nose cython
- pip install coverage coveralls
- "python setup.py install --with-f90mc"
# command to run tests
script:
- nosetests --with-coverage --cover-package=qutip qutip
after_success:
- if [[ $TRAVIS_PYTHON_VERSION == '3.4' ]]; then
coveralls;
fi