forked from qutip/qutip
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
42 lines (35 loc) · 969 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
31
32
33
34
35
36
37
38
39
40
41
sudo: false
language: python
python:
- 2.7
- 3.4
matrix:
include:
- python: 3.4
env: CC=clang CXX=clang++
addons:
apt:
packages:
- libatlas-dev
- libatlas-base-dev
- liblapack-dev
- gfortran
before_install:
- uname -a
- 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' ]] && [[ $CC == 'gcc' ]]; then
coveralls;
fi