forked from paesanilab/MB-Fit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
58 lines (46 loc) · 2.5 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
dist: trusty
before_install:
- sudo apt-get -qq update
- sudo apt-get install -y gfortran netcdf-bin libgsl0-dev libblas-dev liblapack-dev
install:
- wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh;
- bash miniconda.sh -b -p $HOME/miniconda
- hash -r
- source $HOME/miniconda/etc/profile.d/conda.sh
- conda config --set always_yes yes --set changeps1 no
- conda update -q conda
- conda info -a
- conda create -q -n psi4env -c psi4 --file requirements.txt python=3.6
- conda activate psi4env
language: cpp
script:
# Build ndiff tool
- cd $TRAVIS_BUILD_DIR/codes/ndiff-2.00; ./configure; make SHELL=/bin/sh
- PATH=$TRAVIS_BUILD_DIR/codes/ndiff-2.00:$PATH
- cd $TRAVIS_BUILD_DIR; source install.sh
# test the python package
- cd $TRAVIS_BUILD_DIR; python run_tests.py
# polynomial tests
- cd $TRAVIS_BUILD_DIR/oldtests/polytests/1B; bash run_test.sh
- cd $TRAVIS_BUILD_DIR/oldtests/polytests/2B; bash run_test.sh
- cd $TRAVIS_BUILD_DIR/oldtests/polytests/3B; bash run_test.sh
- cd $TRAVIS_BUILD_DIR/oldtests/polytests/input_generation; bash run_test.sh
# requires MKL, cannot run on Travis-CI unless we reconfigure it to use conda
#- cd $TRAVIS_BUILD_DIR/fitting/1B/get_codes; bash run_test.sh
# psi4
- cd $TRAVIS_BUILD_DIR/oldtests/calctests/psi4; bash run_test.sh
# QM MB energy calculator (uses psi4)
- cd $TRAVIS_BUILD_DIR/oldtests/calctests/monomer; bash run_test.sh
- cd $TRAVIS_BUILD_DIR/oldtests/calctests/monomers; bash run_test.sh
- cd $TRAVIS_BUILD_DIR/oldtests/calctests/dimer; bash run_test.sh
- cd $TRAVIS_BUILD_DIR/oldtests/calctests/dimers; bash run_test.sh
- cd $TRAVIS_BUILD_DIR/oldtests/calctests/trimer; bash run_test.sh
- cd $TRAVIS_BUILD_DIR/oldtests/calctests/trimers; bash run_test.sh
# training set generation
- cd $TRAVIS_BUILD_DIR/configuration_generator/norm_distribution/src; make
- cd $TRAVIS_BUILD_DIR/configuration_generator/norm_distribution/scripts; bash run_test.sh
- cd $TRAVIS_BUILD_DIR/configuration_generator/norm_distribution/scripts; bash run_test_so4.sh
- cd $TRAVIS_BUILD_DIR/configuration_generator/norm_distribution/scripts; bash run_test_pf6.sh
- cd $TRAVIS_BUILD_DIR/configuration_generator/norm_distribution/scripts; bash run_test_trimer_minimum.sh
- cd $TRAVIS_BUILD_DIR/configuration_generator/norm_distribution/scripts; bash run_test_trimer_saddle.sh
- cd $TRAVIS_BUILD_DIR/oldtests/configtests; bash run_test.sh