@@ -29,17 +29,19 @@ matrix:
29
29
env :
30
30
# NAME has no actual use, just to make the travis jobs overview more clear
31
31
- NAME="gcc5 Debug/Tests/AddressSanitizer/Coveralls"
32
- - CXX=g++-5
33
- - CC=gcc-5
34
- - PELOTON_BUILD_TYPE=Debug
35
- - COVERALLS=On
32
+ # set env variables manually
33
+ before_install :
34
+ - export CXX=g++-5
35
+ - export CC=gcc-5
36
+ - export PELOTON_BUILD_TYPE=Debug
37
+ - export COVERALLS=On
36
38
# override script value to run also tests and benchmarks
37
39
script :
38
40
# create build directory
39
41
- mkdir build
40
42
- cd build
41
43
# run cmake. NOTE: the PATH is made explicit to avoid automatic selection of the preinstalled llvm version in the Travis trusty image
42
- - PATH=/usr/lib/llvm-3.7/bin:/usr/bin:$PATH cmake -DCOVERALLS=$COVERALLS -DCMAKE_PREFIX_PATH=`llvm-config-3.7 --prefix` -DCMAKE_BUILD_TYPE=$PELOTON_BUILD_TYPE -DUSE_SANITIZER=Address ..
44
+ - PATH=/usr/lib/llvm-3.7/bin:/usr/bin:$PATH CXX=g++-5 cmake -DCOVERALLS=$COVERALLS -DCMAKE_PREFIX_PATH=`llvm-config-3.7 --prefix` -DCMAKE_BUILD_TYPE=$PELOTON_BUILD_TYPE -DUSE_SANITIZER=Address ..
43
45
# build
44
46
- make -j4
45
47
# run tests
@@ -72,17 +74,19 @@ matrix:
72
74
env :
73
75
# NAME has no actual use, just to make the travis jobs overview more clear
74
76
- NAME="gcc5 Release/Tests/AddressSanitizer"
75
- - CXX=g++-5
76
- - CC=gcc-5
77
- - PELOTON_BUILD_TYPE=Release
78
- - COVERALLS=Off
77
+ # set env variables manually
78
+ before_install :
79
+ - export CXX=g++-5
80
+ - export CC=gcc-5
81
+ - export PELOTON_BUILD_TYPE=Release
82
+ - export COVERALLS=Off
79
83
# override script value to run also tests and benchmarks
80
84
script :
81
85
# create build directory
82
86
- mkdir build
83
87
- cd build
84
88
# run cmake. NOTE: the PATH is made explicit to avoid automatic selection of the preinstalled llvm version in the Travis trusty image
85
- - PATH=/usr/lib/llvm-3.7/bin:/usr/bin:$PATH cmake -DCOVERALLS=$COVERALLS -DCMAKE_PREFIX_PATH=`llvm-config-3.7 --prefix` -DCMAKE_BUILD_TYPE=$PELOTON_BUILD_TYPE -DUSE_SANITIZER=Address ..
89
+ - PATH=/usr/lib/llvm-3.7/bin:/usr/bin:$PATH CXX=g++-5 cmake -DCOVERALLS=$COVERALLS -DCMAKE_PREFIX_PATH=`llvm-config-3.7 --prefix` -DCMAKE_BUILD_TYPE=$PELOTON_BUILD_TYPE -DUSE_SANITIZER=Address ..
86
90
# build
87
91
- make -j4
88
92
# run tests
0 commit comments