forked from openmc-dev/openmc
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
60 lines (59 loc) · 1.39 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
59
60
sudo: required
dist: xenial
language: python
addons:
apt:
packages:
- mpich
- libmpich-dev
- libhdf5-serial-dev
- libhdf5-mpich-dev
- libeigen3-dev
config:
retries: true
services:
- xvfb
cache:
directories:
- $HOME/nndc_hdf5
- $HOME/endf-b-vii.1
env:
global:
- MPI_DIR=/usr
- DAGMC_ROOT=$HOME/DAGMC
- HDF5_ROOT=/usr
- OMP_NUM_THREADS=2
- OPENMC_CROSS_SECTIONS=$HOME/nndc_hdf5/cross_sections.xml
- OPENMC_ENDF_DATA=$HOME/endf-b-vii.1
- PATH=$PATH:$HOME/NJOY2016/build
- COVERALLS_PARALLEL=true
- NUMPY_EXPERIMENTAL_ARRAY_FUNCTION=0
matrix:
include:
- python: "3.5"
env: OMP=n MPI=n PHDF5=n
- python: "3.6"
env: OMP=n MPI=n PHDF5=n
- python: "3.7"
env: OMP=n MPI=n PHDF5=n
- python: "3.7"
env: OMP=y MPI=n PHDF5=n
- python: "3.7"
env: OMP=n MPI=y PHDF5=n
- python: "3.7"
env: OMP=n MPI=y PHDF5=y
- python: "3.7"
env: OMP=y MPI=y PHDF5=y DAGMC=y
- python: "3.7"
env: OMP=y MPI=n PHDF5=n EVENT=y
notifications:
webhooks: https://coveralls.io/webhook?repo_token=$COVERALLS_REPO_TOKEN
install:
- ./tools/ci/travis-install.sh
before_script:
- ./tools/ci/travis-before-script.sh
script:
- ./tools/ci/travis-script.sh
after_success:
- cpp-coveralls -i src -i include --exclude-pattern "/usr/*" --dump cpp_cov.json
- coveralls --merge=cpp_cov.json