File tree 1 file changed +4
-8
lines changed
1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,8 @@ language:
3
3
4
4
os :
5
5
- linux
6
+ dist : trusty
7
+ sudo : required
6
8
- osx
7
9
8
10
compiler :
@@ -12,11 +14,6 @@ compiler:
12
14
matrix :
13
15
allow_failures :
14
16
- os : osx
15
- include :
16
- - os : linux
17
- dist : trusty
18
- sudo : required
19
- - os : osx
20
17
21
18
env :
22
19
global :
31
28
- BUILD_EXAMPLES="ON" BUILD_TESTS="ON" CMAKE_BUILD_TYPE="Release" HTTPP_PARSER_BACKEND=Stream USE_BOOST_PROMISE=OFF
32
29
- BUILD_EXAMPLES="ON" BUILD_TESTS="ON" CMAKE_BUILD_TYPE="Debug" HTTPP_PARSER_BACKEND=Stream USE_BOOST_PROMISE=OFF
33
30
34
-
35
31
addons :
36
32
apt :
37
33
packages :
@@ -51,8 +47,8 @@ before_install:
51
47
52
48
before_script :
53
49
# update compilers
54
- - if [ "${CXX}" == "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
55
- - if [ "${CXX}" == "clang++" ]; then export CXX="clang++-3.6" CC="clang-3.6"; fi
50
+ - if [ "$TRAVIS_OS_NAME" != "osx" && "$ {CXX}" == "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
51
+ - if [ "$TRAVIS_OS_NAME" != "osx" && "$ {CXX}" == "clang++" ]; then export CXX="clang++-3.6" CC="clang-3.6"; fi
56
52
57
53
script :
58
54
- rm -rf build
You can’t perform that action at this time.
0 commit comments