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/.jenkins.d/10-build.sh b/.jenkins.d/10-build.sh
index 09fa916..fa7591a 100755
--- a/.jenkins.d/10-build.sh
+++ b/.jenkins.d/10-build.sh
@@ -9,19 +9,21 @@
# Cleanup
sudo ./waf -j1 --color=yes distclean
-# Configure/build in optimized mode with tests and precompiled headers
-./waf -j1 --color=yes configure --with-tests
-./waf -j1 --color=yes build
+if [[ "$JOB_NAME" != *"limited-build" ]]; then
+ # Configure/build in optimized mode with tests and precompiled headers
+ ./waf -j1 --color=yes configure --with-tests
+ ./waf -j1 --color=yes build
-# Cleanup
-sudo ./waf -j1 --color=yes distclean
+ # Cleanup
+ sudo ./waf -j1 --color=yes distclean
-# Configure/build in optimized mode without tests and with precompiled headers
-./waf -j1 --color=yes configure
-./waf -j1 --color=yes build
+ # Configure/build in optimized mode without tests and with precompiled headers
+ ./waf -j1 --color=yes configure
+ ./waf -j1 --color=yes build
-# Cleanup
-sudo ./waf -j1 --color=yes distclean
+ # Cleanup
+ sudo ./waf -j1 --color=yes distclean
+fi
# Configure/build in debug mode
if [[ "$JOB_NAME" == *"code-coverage" ]]; then