build+ci: Update default build flags and CI scripts
This commit also fixes a few compilation errors.
Change-Id: I19bcbe360423dad2532b9caee4edcdc6356b0075
diff --git a/.travis.yml b/.travis.yml
index db6a8c6..7f40779 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,4 +1,4 @@
-# For Ubuntu only
+sudo: true
language: cpp
os:
- linux
@@ -8,9 +8,8 @@
email:
on_success: always
on_failure: always
-before_install:
- - travis_retry sudo apt-get update
-install:
- - travis_retry sudo apt-get install -qq libssl-dev libpcap-dev libboost1.48-all-dev libcrypto++-dev libsqlite3-dev liblog4cxx10-dev protobuf-compiler libprotobuf-dev pkg-config
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
+ - echo $NODE_LABELS
- ./.jenkins