forked from materialsproject/custodian
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
36 lines (36 loc) · 1.03 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
language: python
python:
- "3.6"
# command to install dependencies
sudo: false
addons:
apt:
packages:
- python-scipy
- libblas-dev
- liblapack-dev
- gfortran
- python-pip
- python-openbabel
before_install:
- sudo apt-get install -qq -y swig python-dev
- wget http://mirrors.kernel.org/ubuntu/pool/universe/o/openbabel/libopenbabel4_2.3.2+dfsg-1.1_amd64.deb
- sudo dpkg -i libopenbabel4_2.3.2+dfsg-1.1_amd64.deb
- wget http://mirrors.kernel.org/ubuntu/pool/universe/o/openbabel/libopenbabel-dev_2.3.2+dfsg-1.1_amd64.deb
- sudo dpkg -i libopenbabel-dev_2.3.2+dfsg-1.1_amd64.deb
install:
- "easy_install -U setuptools"
- travis_wait pip install -r requirements-ci.txt --upgrade
- pip install openbabel
# 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
notifications:
email:
recipients:
on_success: change
on_failure: always