ci: Update Travis-CI to use Ubuntu Linux 14.04 (trusty) and OS X 10.9 VMs
Due to resource constraints, this commit also makes Travis-CI to build
only once (debug, without precompiled headers, with tests).
Change-Id: I65ec64bca545093efae384dd00b51bbeaf7d9b65
Refs: #3360
diff --git a/.travis.yml b/.travis.yml
index 7f40779..6ed51f3 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,15 +1,24 @@
-sudo: true
-language: cpp
-os:
- - linux
-compiler:
- - gcc
+sudo: required
+language: generic
+env:
+ global:
+ - JOB_NAME=limited-build
+matrix:
+ include:
+ - os: linux
+ dist: trusty
+ env: CXX=g++
+ - os: linux
+ dist: trusty
+ env: CXX=clang++
+ - os: osx
+ env: CXX=clang++
notifications:
email:
on_success: always
on_failure: always
script:
- - if [[ $TRAVIS_OS_NAME == linux ]]; then export NODE_LABELS="Linux Ubuntu Ubuntu-12.04"; fi
- - if [[ $TRAVIS_OS_NAME == osx ]]; then export NODE_LABELS="OSX OSX-10.10"; fi
+ - if [[ $TRAVIS_OS_NAME == linux ]]; then export NODE_LABELS="Linux Ubuntu Ubuntu-14.04"; fi
+ - if [[ $TRAVIS_OS_NAME == osx ]]; then export NODE_LABELS="OSX OSX-10.9"; fi
- echo $NODE_LABELS
- ./.jenkins