forked from CFD-GO/TCLB
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
85 lines (74 loc) · 2.73 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
#####################################################
# #
# WARNING: .travis.yml file is generated #
# from src/travis.yml.Rt #
# #
# 1. do not modify .travis.yml ! #
# 2. after modifying src/travis.yml and run #
# > make travis #
# #
#####################################################
language: c
addons:
apt:
packages:
- libcuinj64-5.5
- nvidia-profiler
- nvidia-cuda-dev
- nvidia-cuda-toolkit
- openmpi-bin
- libopenmpi-dev
- lcov
- time
git:
submodules: false
env:
matrix:
- MODEL=d2q9_npe_guo
- MODEL=d2q9_BC
- MODEL=d2q9
- MODEL=d2q9_SRT
- MODEL=d2q9_thin_film
- MODEL=d3q19
- MODEL=d3q19_les
- MODEL=d3q19_heat
- MODEL=d2q9_kuper
- MODEL=d2q9_pf
- MODEL=d3q27
- MODEL=d3q27_cumulant
- MODEL=d3q27_cumulant_AVG_IB_SMAG
before_install:
- sudo tools/install.sh r
- tools/install.sh rdep
- tools/install.sh rinside
- sudo tools/install.sh python-dev
- tools/install.sh rpython
- gem install coveralls-lcov
- tools/install.sh submodules
install:
- nvcc --version
script:
- make configure
- ./configure --enable-double --with-cuda-arch=sm_20 --enable-marklines --with-python --enable-paranoid
- make $MODEL/source
- make $MODEL
- make $MODEL/clean
- ./configure --enable-double --disable-cuda --enable-marklines --enable-marklines --enable-coverage --with-python --enable-paranoid
- make $MODEL
- tools/tests.sh $MODEL
jobs:
include:
- stage: docs
env:
secure: "gDINAbE+apFUrReGDClqtSd4ir1ivFww/EjslD2XA8igmwELA0Kkom3z+X6HiMjlPaNLK5oRoyD7BkFSJ9Sf1i6z2+iLVmqJoOLaexZXM09C557Xmh38DisHTvQf6IVg0TRvQ8DEGDfFMrNr5jjDpXdPYs2sVJPW1Mi0Hwehtvt1Siuxr8bkoa/p6qZLbmhYl6ETGqFXDMmRWKFMaJpJ38BScwWIPgVqwSOcejhEdaPUuGtOYSirUhUDWoSQmOUPfbHfadIAT9+OPDY4p91eQmDQGNj9ZgWMvU8dECrrzE2Z6UfbO+swXmfMWe0BYwEpcGtYMG19y6dEKh4TmrEPR8Y/9SaVFiY/PPm906agKeJdGwHdokYqcjB/STSR83ni+b3qAfIgwYW2pcSMSEpbn+kUp70k9emV3KVJVIg3G/s4fEC1bip5wkBAYInPGa+FmNJTM8Y3iSHeQmuv2zia5od5RJDZg98kf0nXv9iEWEYrQl2KkEGNPK+bsWinA0KES1cZ21aMnPENf7mhyOsUUEYX4oCCxzzR16PCWWx4b7E4SBDweU5DfsEuwByjAImTOArSuofv1QnXynmDDD5W3TVDqx+067pMCE4FLV1yWqqrnaoPpWeWGlhTQStbO3xYSNgUNMma8pYEQStTpdkgXt4gx6RHaCjZwZ/FZx1rZRk="
script:
- make configure
- ./configure --disable-cuda
- mkdir -p wiki/xml wiki/images
- R -f tools/gen.doc.R
- make wiki/Models.md
- tools/deploy.docs.sh
after_success:
- tools/coveralls.sh
after_failure:
- dmesg