forked from CFD-GO/TCLB
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
69 lines (60 loc) · 1.91 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
#####################################################
# #
# 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
git:
submodules: false
env:
global:
- CUDA=6.5-14
matrix:
- MODEL=d2q9
- MODEL=d2q9_hb
- MODEL=d2q9_heat
- MODEL=d2q9_kuper
- MODEL=d2q9_lee
- MODEL=d2q9_les
- MODEL=d2q9_new
- MODEL=d2q9_npe_guo
- MODEL=d2q9_poison_boltzmann
- MODEL=d2q9_solid
- MODEL=d3q19
- MODEL=d3q19_heat
- MODEL=d3q19_les
- MODEL=d3q27
- MODEL=d3q27_cumulant
before_install:
- sudo tools/install.sh cuda $CUDA
- sudo tools/install.sh r
- sudo tools/install.sh openmpi
- tools/install.sh rdep
- sudo tools/install.sh python-dev
- tools/install.sh rpython
- gem install coveralls-lcov
- tools/install.sh submodules
- sudo tools/install.sh coveralls
- export CUDA_HOME=/usr/local/cuda-${CUDA%%-*}
- export LD_LIBRARY_PATH=${CUDA_HOME}/lib64:${LD_LIBRARY_PATH}
- export PATH=${CUDA_HOME}/bin:${PATH}
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
after_success:
- tools/coveralls.sh
after_failure:
- dmesg