-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.travis.yml
More file actions
42 lines (37 loc) · 1017 Bytes
/
.travis.yml
File metadata and controls
42 lines (37 loc) · 1017 Bytes
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
# After changing this file, check it on:
# http://lint.travis-ci.org/
language: python
python:
- "3.7"
stages:
- test
before_install:
# Setup python environment
- source devtools/travis_ci_before_install.sh
- python -V
# Set git info
- git config --global user.name "Travis Deploy"
- git config --global user.email "[email protected]"
cache: pip
jobs:
include:
- stage: test
install:
- export PYTHONPATH=$PYTHONPATH:$(pwd)
- conda env create -f environment.yml
- source activate tck_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
- cd RMG-database
- cd ..
- conda install -y -c conda-forge codecov
- conda list
script:
- coverage run -m pytest -ra
- coverage report
- codecov