Merge pull request #421 from texane/travis-toolchains
[fw/stlink] / .travis.yml
index 5164d36c57361ac771c36b2400fad4caee10afb2..0fae3aaeb8aad22495c37b3cba2e2dcadf74c9f2 100644 (file)
@@ -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"