-
Notifications
You must be signed in to change notification settings - Fork 16
/
.travis.yml
31 lines (29 loc) · 985 Bytes
/
.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
language: python
python:
- "3.7"
install:
- cd ..
# Install miniconda
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then wget http://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then wget http://repo.continuum.io/miniconda/Miniconda3-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]"
- cd AutoTST
- export AUTOTST=$(pwd)
- echo $AUTOTST
- export PYTHONPATH=$PYTHONPATH:$AUTOTST
- conda env create -f environment.yml
- source activate tst_env
- conda list
#- yes | conda uninstall --force openbabel
script:
- make unittests
- codecov --token 5db618e2-9768-489b-81ce-5a9795c92c75
after_failure:
- cat config.log