forked from ReactionMechanismGenerator/RMG-Py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
38 lines (34 loc) · 924 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
sudo: false
python:
- "2.7"
virtualenv:
system_site_packages: true
env:
global:
- secure: "L2ja+ZnV83w4qG3E8FwTjm0D6IWNOnj5wuFOjYTwbzQP4OAgLAWBzCMtxzWy5sMxFLtRgkswBH1d5f5kg8Ab7GIyAMFgQwe8UFqMJ+N05QNszE1mJkAvJtv2XN7669XXQhTt5EXfHrCcGZaODVnI2CEA8GB5DxiHO2Lcqf/xvgE="
addons:
apt:
packages:
- git
before_install:
# Set up anaconda
- wget http://repo.continuum.io/miniconda/Miniconda-2.2.2-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b
- export PATH=/home/travis/anaconda/bin:$PATH
- export PYTHONPATH=$TRAVIS_BUILD_DIR/RMG-Py:$PYTHONPATH
# Update conda itself
- conda update --yes conda
- cd ..
- git clone https://github.com/ReactionMechanismGenerator/RMG-database.git
- cd RMG-Py
install:
- conda env create
- source activate rmg_env
- make
script:
- make test
- make test-database
after_success:
- bash ./deploy.sh