Skip to content

Commit d7b4844

Browse files
committed
fix to g++9
1 parent 626df39 commit d7b4844

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@ addons:
66
sources:
77
- ubuntu-toolchain-r-test
88
packages:
9-
- g++-8
9+
- g++-9
1010
- lcov
1111

1212
matrix:
1313
include:
1414
- env: TEST="Build on macOS"
1515
os: osx
16-
osx_image: xcode10.1
16+
osx_image: xcode11.6
1717
script: scripts/travis/build_macos.sh
1818
- env: TEST="Build on Linux"
1919
os: linux

scripts/travis/build_linux.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ mkdir -p build/examples
44
cd build
55

66
# generate and build lib
7-
cmake -DCMAKE_BUILD_TYPE=Debug -DENABLE_TESTS=ON -DCMAKE_CXX_COMPILER=g++-8 -DCMAKE_INSTALL_PREFIX=~/local ..
7+
cmake -DCMAKE_BUILD_TYPE=Debug -DENABLE_TESTS=ON -DCMAKE_CXX_COMPILER=g++-9 -DCMAKE_INSTALL_PREFIX=~/local ..
88
if [ $? -ne 0 ]; then exit -1; fi
99
cmake --build . --target install -- -j $(nproc)
1010
if [ $? -ne 0 ]; then exit -1; fi
1111

1212
# generate and build examples
1313
cd examples
14-
cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=g++-8 -DCMAKE_INSTALL_PREFIX=~/local ../../examples
14+
cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=g++-9 -DCMAKE_INSTALL_PREFIX=~/local ../../examples
1515
if [ $? -ne 0 ]; then exit -1; fi
1616
cmake --build . -- -j $(nproc)
1717
if [ $? -ne 0 ]; then exit -1; fi

scripts/travis/coverage.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ mkdir -p build
44
cd build
55

66
# generate and build lib with coverage
7-
cmake -DCMAKE_BUILD_TYPE=Debug -DENABLE_TESTS=ON -DCMAKE_CXX_COMPILER=g++-8 -DENABLE_COVERAGE=ON ..
7+
cmake -DCMAKE_BUILD_TYPE=Debug -DENABLE_TESTS=ON -DCMAKE_CXX_COMPILER=g++-9 -DENABLE_COVERAGE=ON ..
88
if [ $? -ne 0 ]; then exit -1; fi
99
cmake --build . -- -j $(nproc)
1010
if [ $? -ne 0 ]; then exit -1; fi

0 commit comments

Comments
 (0)