Skip to content

Commit b874166

Browse files
committed
test
1 parent d61db6a commit b874166

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.travis.yml

+4-8
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ language:
33

44
os:
55
- linux
6+
dist: trusty
7+
sudo: required
68
- osx
79

810
compiler:
@@ -12,11 +14,6 @@ compiler:
1214
matrix:
1315
allow_failures:
1416
- os: osx
15-
include:
16-
- os: linux
17-
dist: trusty
18-
sudo: required
19-
- os: osx
2017

2118
env:
2219
global:
@@ -31,7 +28,6 @@ env:
3128
- BUILD_EXAMPLES="ON" BUILD_TESTS="ON" CMAKE_BUILD_TYPE="Release" HTTPP_PARSER_BACKEND=Stream USE_BOOST_PROMISE=OFF
3229
- BUILD_EXAMPLES="ON" BUILD_TESTS="ON" CMAKE_BUILD_TYPE="Debug" HTTPP_PARSER_BACKEND=Stream USE_BOOST_PROMISE=OFF
3330

34-
3531
addons:
3632
apt:
3733
packages:
@@ -51,8 +47,8 @@ before_install:
5147

5248
before_script:
5349
# 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
5652

5753
script:
5854
- rm -rf build

0 commit comments

Comments
 (0)