forked from ReactionMechanismGenerator/ARC
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
41 lines (38 loc) · 1.2 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
language: python
python:
- "2.7"
before_install:
- cd ..
# Install miniconda
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then wget http://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O miniconda.sh; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then wget http://repo.continuum.io/miniconda/Miniconda2-latest-MacOSX-x86_64.sh -O miniconda.sh; fi
- bash miniconda.sh -b -p $HOME/miniconda
- export PATH=$HOME/miniconda/bin:$PATH
# Update conda
- conda update --yes conda
- conda info -a
# Set git info
- git config --global user.name "Travis Deploy"
- git config --global user.email "[email protected]"
cache: pip
install:
- cd ARC
- conda env create -q -f environment.yml
- source activate arc_env
- cd ..
- git clone https://github.com/ReactionMechanismGenerator/RMG-Py
- cd RMG-Py
- export PYTHONPATH=$PYTHONPATH:$(pwd)
- make
- cd ..
- git clone https://github.com/ReactionMechanismGenerator/RMG-database
- git clone https://github.com/alongd/AutoTST
- cd AutoTST
- export PYTHONPATH=$PYTHONPATH:$(pwd)
- cd ..
- conda install -y -c conda-forge codecov
- conda list
- cd ARC
script:
- make test
- codecov --token=f259713a-7f1d-4e9c-b140-bb3bb371d3ef