Prepare the .travis.yml file to accept new builds by making the Linux
OS choice more explicit and protecting some Linux specific steps.
Signed-off-by: Sitsofe Wheeler <sitsofe@yahoo.com>
language: c
+os:
+ - linux
compiler:
- clang
- gcc
global:
- MAKEFLAGS="-j 2"
before_install:
- - sudo apt-get -qq update
- - sudo apt-get install -qq -y libaio-dev libnuma-dev libz-dev
+ - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get -qq update; fi
+ - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -qq -y libaio-dev libnuma-dev libz-dev; fi