Skip to content

Commit 57909ac

Browse files
authored
Merge pull request luncliff#52 from luncliff/fix/issue-51
Prepare compiler issues and survey
2 parents 477138d + e1ddaa7 commit 57909ac

23 files changed

+605
-384
lines changed

.travis.yml

Lines changed: 25 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ notifications:
1414
addons:
1515
homebrew:
1616
packages:
17-
- doxygen
1817
- cmake
1918
- tree
2019

@@ -49,10 +48,9 @@ before_script:
4948

5049
script:
5150
- cmake .
52-
-DCMAKE_INSTALL_PREFIX=${TRAVIS_BUILD_DIR}/install
51+
-DCMAKE_INSTALL_PREFIX="${TRAVIS_BUILD_DIR}/install"
5352
-DBUILD_SHARED_LIBS=True
5453
-DCMAKE_BUILD_TYPE=Debug
55-
-DUSE_PORTABLE_HEADER=True
5654
-DBUILD_TESTING=True
5755
- cmake --build . --config debug
5856
- cmake --build . --target install
@@ -65,6 +63,8 @@ after_success:
6563
jobs:
6664
allow_failures:
6765
- env: EXPERIMENTAL=true
66+
- osx_image: xcode10.1
67+
6868
include:
6969
- stage: build
7070
os: windows
@@ -73,16 +73,35 @@ jobs:
7373
- ./scripts/build-vs2017-cmake-clang.bat
7474
- ctest --output-on-failure
7575

76-
- os: osx
76+
- os: osx # 10.13
77+
osx_image: xcode10.1 # requires higher clang version
78+
compiler: clang
79+
80+
- os: osx # 10.14.6
7781
osx_image: xcode11.3
7882
compiler: clang
7983

84+
- os: osx # 10.15.5
85+
osx_image: xcode12
86+
compiler: clang
87+
88+
- os: osx
89+
osx_image: xcode12
90+
compiler: gcc-10
91+
# cache:
92+
# directories:
93+
# # we don't have to cache if already installed
94+
# - /usr/local/Cellar/gcc/
95+
install:
96+
- brew info gcc # 10.1.0 is already installed
97+
# - travis_wait 90 brew upgrade gcc@10
98+
8099
- os: linux
81-
dist: xenial
100+
dist: xenial # 16.04
82101
compiler: clang-8
83102

84103
- os: linux
85-
dist: bionic
104+
dist: bionic # 18.04
86105
compiler: clang-8
87106

88107
- os: linux

0 commit comments

Comments
 (0)