ci: update Travis-CI to use Ubuntu Linux 14.04 (trusty) and OS X 10.9 VMs

Change-Id: I692ca5514562eb9dc2da2a7ddf64fb7e82a429ab
Refs: #3360
diff --git a/.travis.yml b/.travis.yml
index d9190fd..6bf8602 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,19 +1,21 @@
-sudo: true
-language: cpp
-os:
-  - linux
-  - osx
-compiler:
-  - gcc
-  - clang
+sudo: required
+language: generic
 matrix:
-  exclude:
+  include:
     - os: linux
-      compiler: clang
+      dist: trusty
+      env: CXX=g++
+    - os: linux
+      dist: trusty
+      env: CXX=clang++
     - os: osx
-      compiler: gcc
+      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