Skip to content

Commit 0a5d7ca

Browse files
committed
TEMPORARY: just checking if CI passes ...
1 parent 1273b47 commit 0a5d7ca

File tree

3 files changed

+44
-46
lines changed

3 files changed

+44
-46
lines changed

.travis.yml

Lines changed: 40 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -10,66 +10,73 @@ env:
1010

1111
matrix:
1212
include:
13-
# linux with gcc 7
13+
# linux with gcc 8
1414
- os: linux
1515
addons:
1616
apt:
1717
sources:
1818
- ubuntu-toolchain-r-test
19-
install:
20-
- gcc-7
19+
packages:
20+
- g++-8
2121
dist: trusty
2222
env:
23-
- MATRIX_EVAL="CC=gcc-7 CXX=g++-7"
24-
compiler: gcc
25-
# linux with gcc 6
23+
- MATRIX_EVAL="CC=gcc-8 && CXX=g++-8"
24+
# linux with gcc 7
2625
- os: linux
2726
addons:
2827
apt:
2928
sources:
3029
- ubuntu-toolchain-r-test
31-
install:
32-
- gcc-6
30+
packages:
31+
- g++-7
3332
dist: trusty
3433
env:
35-
- MATRIX_EVAL="CC=gcc-6 CXX=g++-6"
36-
compiler: gcc
37-
# linux with gcc (default)
34+
- MATRIX_EVAL="CC=gcc-7 && CXX=g++-7"
35+
# linux with clang 7
3836
- os: linux
37+
addons:
38+
apt:
39+
sources:
40+
- ubuntu-toolchain-r-test # only needed for <= trusty
41+
- llvm-toolchain-trusty-7
42+
packages:
43+
- clang-7
44+
- libstdc++-8-dev # only needed for <= trusty
3945
dist: trusty
40-
compiler: gcc
41-
# linux with clang (default)
46+
env:
47+
- MATRIX_EVAL="CC=clang-7 && CXX=clang++-7 && COMPILE_ASIO=1"
48+
# linux with clang 6.0
4249
- os: linux
50+
addons:
51+
apt:
52+
sources:
53+
- ubuntu-toolchain-r-test # only needed for <= trusty
54+
- llvm-toolchain-trusty-6.0
55+
packages:
56+
- clang-6.0
57+
- libstdc++-8-dev # only needed for <= trusty
4358
dist: trusty
4459
env:
45-
- MATRIX_EVAL="COMPILE_ASIO=1"
46-
compiler: clang
47-
# linux with clang 3.8
60+
- MATRIX_EVAL="CC=clang-6.0 && CXX=clang++-6.0 && COMPILE_ASIO=1"
61+
# linux with clang 5.0
4862
- os: linux
4963
addons:
5064
apt:
5165
sources:
52-
- ubuntu-toolchain-r-test
53-
install:
54-
- clang-3.8
66+
- ubuntu-toolchain-r-test # only needed for <= trusty
67+
- llvm-toolchain-trusty-5.0
68+
packages:
69+
- clang-5.0
70+
- libstdc++-7-dev # only needed for <= trusty
5571
dist: trusty
5672
env:
57-
- MATRIX_EVAL="CC=clang-3.8 CXX=clang++-3.8 COMPILE_ASIO=1"
58-
compiler: clang
59-
# osx with xcode9.2/gcc
60-
- os: osx
61-
osx_image: xcode9.2
62-
compiler: gcc
63-
# osx with xcode9.2/clang
64-
- os: osx
65-
osx_image: xcode9.2
66-
compiler: clang
67-
# osx with xcode/gcc (default)
73+
- MATRIX_EVAL="CC=clang-5.0 && CXX=clang++-5.0 && COMPILE_ASIO=1"
74+
# osx with xcode10.1/clang
6875
- os: osx
69-
compiler: gcc
70-
# osx with xcode/clang (default)
76+
osx_image: xcode10.1
77+
# osx with xcode9.4/clang
7178
- os: osx
72-
compiler: clang
79+
osx_image: xcode9.4
7380

7481
before_install:
7582
- eval "${MATRIX_EVAL}"

ci/install-deps.sh

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ fi
2222
if [ "$TRAVIS_OS_NAME" == "linux" ]; then
2323
# autotools, automake, make are present in the trusty image
2424
sudo apt-get install -y \
25-
g++ \
2625
libasio-dev \
2726
qt5-default \
2827
libecasoundc-dev \
@@ -37,18 +36,6 @@ if [ "$TRAVIS_OS_NAME" == "linux" ]; then
3736
jackd1 \
3837
pkg-config \
3938
libtool
40-
# force installation of gcc-6 if required
41-
if [ "${CC}" == "gcc-6" ]; then
42-
sudo apt-get install gcc-6 g++-6
43-
fi
44-
# force installation of gcc-7 if required
45-
if [ "${CC}" == "gcc-7" ]; then
46-
sudo apt-get install gcc-7 g++-7
47-
fi
48-
# force installation of clang-3.8 if required
49-
if [ "${CC}" == "clang-3.8" ]; then
50-
sudo apt-get install clang-3.8
51-
fi
5239

5340
# force qt 5
5441
export QT_SELECT=qt5

configure.ac

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -236,6 +236,10 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM()], AC_MSG_RESULT([yes]),
236236
AC_MSG_ERROR([C++17 not supported! Please upgrade.])
237237
])
238238

239+
dnl JACK1 problem with C++17: https://github.com/jackaudio/jack1/issues/84
240+
AS_IF([test x$GCC = xyes],
241+
[WARNING_FLAGS="$WARNING_FLAGS -Wno-register"])
242+
239243
dnl see http://www.open-std.org/JTC1/SC22/WG21/docs/cwg_defects.html#1123
240244
dnl and http://stackoverflow.com/q/11497252/500098
241245
AC_MSG_CHECKING([if $CXX implements core/1123])

0 commit comments

Comments
 (0)