forked from UT-CHG/BET
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (38 loc) · 993 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
42
language: python
python:
#- "2.6"
- "2.7"
#- "3.2"
#- "3.3"
#- "3.4"
before_install:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sudo apt-get install gfortran libblas-dev liblapack-dev mpich2 libmpich2-dev
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH="$HOME/miniconda/bin:$PATH"
- conda update --yes conda
install:
- conda install --yes python=$TRAVIS_PYTHON_VERSION pip numpy scipy nose
- pip install pyDOE mpi4py
- python setup.py install
script:
- nosetests
- mpirun -n 2 nosetests
- pip uninstall -y mpi4py
- nosetests
# notification settings
notifications:
email:
recipients:
on_success: change
on_failure: always
# whitelist
branches:
only:
- master
- v2_master