forked from materialsproject/pymatgen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (40 loc) · 1.09 KB
/
.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
language: python
python:
- "2.7"
- "3.4"
git:
depth: 1
env:
global:
- secure: "hXNhTinvLDlfiIWxNgnxDFtL1zOnPd1TMyUkLLjqTRBbcuVinlMLISRgYV9g\nIIvLPG5S424ybNtU1X7X9MlypDmvis3/+G8gBo2q+7IRTAKw1C2J9/6RhIaG\nnD4aV9YZKmyz8pH1DZj6AMFIqY+2+W4Wte3oyL8IqbFRMfhdmzE="
- PATH=$PATH:`pwd`/cmd_line/enum/Linux_64bit:`pwd`/cmd_line/bader/Linux_64bit:`pwd`/cmd_line/gulp/Linux_64bit:`pwd`/cmd_line/aconvasp/Linux_64bit
- GULP_LIB=`pwd`/cmd_line/gulp/Libraries
# command to install dependencies
sudo: false
addons:
apt:
packages:
- python-scipy
- libblas-dev
- liblapack-dev
- gfortran
- python-pip
install:
- travis_wait pip install -q -r requirements.txt
- travis_wait pip install -q -r requirements-optional.txt
# This is needed, otherwise, nosetests can't find the installed pymatgen C
# extensions.
before_script:
- python setup.py develop
# command to run tests, e.g. python setup.py test
script: nosetests -v pymatgen
branches:
only:
- master
- stable
notifications:
email:
recipients:
- shyuep@gmail.com
on_success: change
on_failure: always