ci: Update of Travis CI build file
There are no functional changes, just small simplification and
beautification.
Change-Id: Icf90be347152db168f43800db02339cc809d015e
diff --git a/.travis.yml b/.travis.yml
index 6bf8602..127eddf 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,18 +4,21 @@
include:
- os: linux
dist: trusty
- env: CXX=g++
+ env:
+ - CXX=g++
+ - NODE_LABELS="Linux Ubuntu Ubuntu-14.04"
- os: linux
dist: trusty
- env: CXX=clang++
+ env:
+ - CXX=clang++
+ - NODE_LABELS="Linux Ubuntu Ubuntu-14.04"
- os: osx
- env: CXX=clang++
+ env:
+ - CXX=clang++
+ - NODE_LABELS="OSX OSX-10.9"
notifications:
email:
on_success: always
on_failure: always
script:
- - 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