File tree Expand file tree Collapse file tree 1 file changed +47
-8
lines changed Expand file tree Collapse file tree 1 file changed +47
-8
lines changed Original file line number Diff line number Diff line change 1
1
language : python
2
2
python :
3
- - " 2.6"
4
3
- " 2.7"
4
+ virtualenv :
5
+ system_site_packages : true
5
6
before_install :
6
7
- sudo apt-get update -qq
7
8
- sudo apt-get install git build-essential gfortran python-dev liblapack-dev python-openbabel python-setuptools python-pip
8
- - sudo apt-get install python-rdkit librdkit-dev librdkit1 rdkit-data
9
- - git clone git@github.com:GreenGroup/RMG-database.git
9
+ # - sudo apt-get install python-rdkit librdkit-dev librdkit1 rdkit-data
10
+ - sudo apt-get install -qq python-numpy python-scipy python-matplotlib
11
+ - cd ..
12
+ - git clone https://github.com/GreenGroup/RMG-database.git
13
+ - git clone https://github.com/GreenGroup/PyDAS.git
14
+ - git clone https://github.com/GreenGroup/PyDQED.git
15
+ # RDKit, based on https://github.com/rdkit/rdkit/blob/master/.travis.yml
16
+ - sudo apt-get install -qq flex bison build-essential python-numpy cmake python-dev sqlite3 libsqlite3-dev libboost-dev libboost-python-dev libboost-regex-dev python-imaging openjdk-7-jdk swig junit
17
+ - export CXX=g++
18
+ - export CC=gcc
19
+ - git clone https://github.com/rdkit/rdkit.git
20
+ - cd rdkit
21
+ - export RDBASE=`pwd`
22
+ - export PYTHONPATH=${PYTHONPATH}:${RDBASE}
23
+ - export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${RDBASE}/lib
24
+ - cd External/INCHI-API
25
+ - ./download-inchi.sh
26
+ - cd ../../
27
+ - mkdir build
28
+ - cd build
29
+ - mkdir $RDBASE/External/java_lib
30
+ - cp /usr/share/java/junit.jar $RDBASE/External/java_lib
31
+ - ls -l $RDBASE/External/java_lib
32
+ - cmake .. -DRDK_BUILD_INCHI_SUPPORT=ON
33
+ - make -j2
34
+ - make install
35
+ - cd ..
36
+ - cd ..
10
37
install :
11
- - pip install numpy --use-mirrors
12
- - pip install -r requirements.txt --use-mirrors
13
- - make
14
- - pip install .
15
- script : make test
38
+ - cd $TRAVIS_BUILD_DIR
39
+ - pip install numpy
40
+ - pip install -r requirements.txt
41
+ - cd ..
42
+ - cd PyDAS
43
+ - make F77=gfortran
44
+ - make install
45
+ - cd ..
46
+ - cd PyDQED
47
+ - make F77=gfortran
48
+ - make install
49
+ - cd ..
50
+ - cd $TRAVIS_BUILD_DIR
51
+ - make noQM
52
+ script :
53
+ - make test
54
+ - make eg1
You can’t perform that action at this time.
0 commit comments