travis: Add gcc-5 and clang-3.8 to matrix for linux cmake builds

pull/421/head
Jerry Jacobs 2016-05-20 20:49:29 +02:00
rodzic f8d711818d
commit 74389ba7b8
2 zmienionych plików z 27 dodań i 12 usunięć

Wyświetl plik

@ -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

Wyświetl plik

@ -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
compiler: clang
env: "BUILD_SYSTEM=autotools"
- os: linux
compiler: gcc
env: "BUILD_SYSTEM=cmake"
- os: linux
compiler: clang
env: "BUILD_SYSTEM=cmake"
- os: linux
compiler: gcc
env: "BUILD_SYSTEM=autotools"
- os: linux
compiler: clang
env: "BUILD_SYSTEM=autotools"
- os: linux
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: osx
compiler: clang
env: "BUILD_SYSTEM=autotools"