-
Notifications
You must be signed in to change notification settings - Fork 11
/
.travis.yml
62 lines (61 loc) · 1.47 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
services: docker
dist: trusty
language: cpp
env:
global:
- OMP_NUM_THREADS=3
- DO_BUILD=yes
matrix:
include:
- compiler: gcc49
env:
- COMPILER=g++
- IMG=gcc49
- CMAKE_EXTRA_FLAGS="-DENABLE_WARNINGS=On"
- compiler: gcc6
env:
- COMPILER=g++
- IMG=gcc6
- CMAKE_EXTRA_FLAGS="-DENABLE_WARNINGS=On"
- compiler: gcc7
env:
- COMPILER=g++
- IMG=gcc7
- CMAKE_EXTRA_FLAGS="-DENABLE_WARNINGS=On"
- compiler: clang6
env:
- COMPILER=clang++
- IMG=clang6
- compiler: clang5
env:
- COMPILER=clang++
- IMG=clang5
- compiler: clang4
env:
- COMPILER=clang++
- IMG=clang4
- compiler: nvcc
env:
- COMPILER=g++
- IMG=nvcc9
- CMAKE_EXTRA_FLAGS="-DENABLE_CUDA=On -DENABLE_KRIPKE=On"
- DO_TEST=no
- compiler: gcc-4.9-debug
env:
- COMPILER=g++
- IMG=gcc49
- CMAKE_EXTRA_FLAGS="-DCMAKE_BUILD_TYPE=Debug"
- compiler: clang-4-debug
env:
- COMPILER=clang++
- IMG=clang4
- CMAKE_EXTRA_FLAGS="-DCMAKE_BUILD_TYPE=Debug"
- compiler: nvcc-debug
env:
- COMPILER=g++
- IMG=nvcc9
- CMAKE_EXTRA_FLAGS="-DCMAKE_BUILD_TYPE=Debug -DENABLE_CUDA=On -DENABLE_KRIPKE=On"
- DO_TEST=no
script:
- docker run --rm --user='root' -v ${TRAVIS_BUILD_DIR}:/home/raja rajaorg/compiler:$IMG chown -R raja /home/raja
- docker run --rm -v ${TRAVIS_BUILD_DIR}:/home/raja -e COMPILER -e DO_BUILD -e DO_TEST -e CMAKE_EXTRA_FLAGS rajaorg/compiler:$IMG ./scripts/travis/build_and_test.sh