forked from optados-developers/optados
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
32 lines (32 loc) · 1.11 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
language: python
python:
- "3.6"
addons:
apt:
packages:
- gfortran
- libblas-dev
- liblapack-dev
- openmpi-bin
- libopenmpi-dev
env:
# - RUNTESTS=false RUNPRECOMMIT=true
## Use these two lines instead of the other two if you want increased output
# - RUNTESTS=true W90BINARYPARALLEL=false W90VERBOSETESTS=true
# - RUNTESTS=true W90BINARYPARALLEL=true W90VERBOSETESTS=true
- RUNTESTS=true OPTBINARYPARALLEL=false
# - RUNTESTS=true OPTBINARYPARALLEL=true
# - RUNTESTS=false
install:
# Install Wannier
# - if [ "$RUNPRECOMMIT" == "true" ] ; then ./test-suite/install_precommit.sh ; fi
- if [ "$RUNTESTS" == "true" ] ; then ./optados/test-suite/tools/configure_travis_compilation.sh ; fi
- if [ "$RUNTESTS" == "true" ] ; then cd optados ; fi
- if [ "$RUNTESTS" == "true" ] ; then make -j default ; fi
script:
# - if [ "$RUNPRECOMMIT" == "true" ] ; then ./test-suite/tools/run_precommit.sh ; fi
- if [ "$RUNTESTS" == "true" ] ; then ./test-suite/tools/run_tests_travis.sh ; fi
git:
depth: 3
after_success:
- bash <(curl -s https://codecov.io/bash)