From: Sitsofe Wheeler Date: Wed, 15 Feb 2017 18:44:48 +0000 (+0000) Subject: travis: prepare for additional builds X-Git-Tag: fio-2.18~12^2~1 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=6afa04b798722c8fdfbeaf6821249ebef0976ead travis: prepare for additional builds 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 --- diff --git a/.travis.yml b/.travis.yml index 9eb723c3..4113da71 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,6 @@ language: c +os: + - linux compiler: - clang - gcc @@ -6,5 +8,5 @@ env: 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