From: Jerry Jacobs Date: Fri, 20 May 2016 18:49:29 +0000 (+0200) Subject: travis: Add gcc-5 and clang-3.8 to matrix for linux cmake builds X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=74389ba7b840fb8be27d3eea2b04b50927491a65;p=fw%2Fstlink travis: Add gcc-5 and clang-3.8 to matrix for linux cmake builds --- diff --git a/.travis.sh b/.travis.sh index 13d2c1d..9e28d3c 100755 --- a/.travis.sh +++ b/.travis.sh @@ -1,4 +1,10 @@ #!/bin/bash +echo "-- C compilers available" +ls -1 /usr/bin/gcc* +ls -1 /usr/bin/clang* +ls -1 /usr/bin/scan-build* +echo "----" + if [ "$TRAVIS_OS_NAME" != "osx" ]; then sudo apt-get update -qq || true sudo apt-get install -qq -y --no-install-recommends libusb-1.0.0-dev libgtk-3-dev diff --git a/.travis.yml b/.travis.yml index 5164d36..0fae3aa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,24 +1,33 @@ sudo: true language: c +addons: + apt: + sources: + - llvm-toolchain-precise-3.8 + - ubuntu-toolchain-r-test + packages: + - clang-3.8 + - g++-5 + - gcc-5 script: - ./.travis.sh matrix: include: - - os: osx - compiler: clang - env: "BUILD_SYSTEM=cmake" - - os: osx + - os: linux + compiler: gcc + env: "BUILD_SYSTEM=autotools" + - os: linux compiler: clang env: "BUILD_SYSTEM=autotools" - os: linux - compiler: gcc + compiler: gcc-5 env: "BUILD_SYSTEM=cmake" - os: linux + compiler: clang-3.8 + env: "BUILD_SYSTEM=cmake" + - os: osx compiler: clang env: "BUILD_SYSTEM=cmake" - - os: linux - compiler: gcc - env: "BUILD_SYSTEM=autotools" - - os: linux + - os: osx compiler: clang env: "BUILD_SYSTEM=autotools"