Skip to content

Commit a72f2ff

Browse files
committed
Merge pull request #70 from ReactionMechanismGenerator/conda
Conda build, updated travis, scripts cleanup for RMG-database
2 parents 8d3f9ff + 97ab553 commit a72f2ff

794 files changed

Lines changed: 203 additions & 276602 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.travis.yml

Lines changed: 23 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,34 @@
11
language: python
2+
sudo: false
23
python:
34
- "2.7"
45
virtualenv:
56
system_site_packages: true
7+
env:
8+
global:
9+
- secure: "L2ja+ZnV83w4qG3E8FwTjm0D6IWNOnj5wuFOjYTwbzQP4OAgLAWBzCMtxzWy5sMxFLtRgkswBH1d5f5kg8Ab7GIyAMFgQwe8UFqMJ+N05QNszE1mJkAvJtv2XN7669XXQhTt5EXfHrCcGZaODVnI2CEA8GB5DxiHO2Lcqf/xvgE="
10+
addons:
11+
apt:
12+
packages:
13+
- git
14+
615
before_install:
7-
- sudo apt-get update -qq
8-
- sudo apt-get install git build-essential gfortran python-dev liblapack-dev python-openbabel python-setuptools python-pip
9-
# for database testing, we don't need the inchi libraries, so no need to build rdkit from source
10-
- sudo apt-get install python-rdkit librdkit-dev librdkit1 rdkit-data
11-
- sudo apt-get install -qq python-numpy python-scipy python-matplotlib
16+
# Set up anaconda
17+
- wget http://repo.continuum.io/miniconda/Miniconda-2.2.2-Linux-x86_64.sh -O miniconda.sh
18+
- chmod +x miniconda.sh
19+
- ./miniconda.sh -b
20+
- export PATH=/home/travis/anaconda/bin:$PATH
21+
# Update conda itself
22+
- conda update --yes conda
1223
- cd ..
1324
# this is the RMG-database project, so need to fetch RMG-Py
1425
- git clone https://github.com/GreenGroup/RMG-Py.git
15-
- git clone https://github.com/GreenGroup/PyDAS.git
16-
- git clone https://github.com/GreenGroup/PyDQED.git
17-
install:
18-
- cd $TRAVIS_BUILD_DIR
19-
- cd ..
20-
- cd RMG-Py
21-
- pip install numpy
22-
- pip install -r requirements.txt
23-
- cd ..
24-
- cd PyDAS
25-
- cd daspk31
26-
- wget http://www.engineering.ucsb.edu/~cse/Software/daspk31.tgz
27-
- cd ..
28-
- make F77=gfortran
29-
- make install
30-
- cd ..
31-
- cd PyDQED
32-
- make F77=gfortran
33-
- make install
34-
- cd ..
3526
- cd RMG-Py
36-
- make noQM -j2
27+
28+
install:
29+
- conda env create
30+
- source activate rmg
31+
- make
32+
3733
script:
38-
- nosetests -v -d --nologcapture $TRAVIS_BUILD_DIR/../RMG-Py/databaseTest.py
34+
- make test-database

0 commit comments

Comments
 (0)