summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2018-02-16 23:39:16 +0100
committerMax Kellermann <max@musicpd.org>2018-02-17 00:23:31 +0100
commit36207d972664ac5969dc984021d7ecc8f1132bc0 (patch)
tree373d8cf25ba1b8246537703a37c1b7b8868fc617 /.travis.yml
parent855d1bc5a141889ff992f51d33806a465d9d509a (diff)
.travis.yml: add variable MATRIX_EVAL
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml6
1 files changed, 5 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 0c61d6a50..511f2f392 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -12,15 +12,20 @@ matrix:
- g++-5
- libcppunit-dev
- libboost-dev
+ env:
+ - MATRIX_EVAL="export CC=gcc-5 CXX=g++-5"
- os: osx
osx_image: xcode9.3beta
+ env:
+ - MATRIX_EVAL=""
env:
global:
- MAKEFLAGS="-j2"
before_install:
+ - eval "${MATRIX_EVAL}"
# C++14
- test "$TRAVIS_OS_NAME" != "osx" || brew update
@@ -30,7 +35,6 @@ install:
script:
- OPTIONS="--enable-test"
- - test "$TRAVIS_OS_NAME" != "linux" || export CC=gcc-5 CXX=g++-5
- test "$TRAVIS_OS_NAME" != "osx" || OPTIONS="$OPTIONS --enable-osx"
- ./autogen.sh
- ./configure --disable-silent-rules --disable-dependency-tracking $OPTIONS