forked from abinit/abiflows
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
38 lines (34 loc) · 928 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
language: python
python:
- "2.7"
#- "3.3"
#- "3.4"
before_install:
#- sudo apt-get install build-essential gfortran python-dev
#- sudo apt-get install -qq libatlas-dev libatlas-base-dev liblapack-dev
#- sudo apt-get install libhdf5-serial-dev netcdf-bin libnetcdf-dev
- sudo apt-get install python-numpy
#- sudo apt-get install python-scipy
# command to install dependencies
install:
- easy_install -U setuptools
- travis_wait pip install -r requirements.txt
- pip install nose-exclude
- pip install coveralls
# This is needed, otherwise, nosetests will import try to import wx.
#before_script:
# - rm abipy/gui/__init__.py
# - export LD_LIBRARY_PATH=/usr/lib/:$LD_LIBRARY_PATH
# command to run tests
script: nosetests
branches:
only:
- master
#after_success:
# coveralls
notifications:
email:
recipients:
on_success: change
on_failure: always