From 44c433762f7829658eabe3f31d46ad8c2db195b5 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Fri, 14 Oct 2016 20:39:25 +0200 Subject: [PATCH] CHG: fixing some scripts for Travis CI... --- .travis.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 42055d4ce..665b6fd1c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,10 +26,12 @@ before_install: ## Install mainline ARM toolchain. gcc-arm-none-eabi is available ## in Ubuntu >= 14.04, but this external PPA is needed for 12.04. before_script: - - sudo apt-add-repository 'deb http://archive.ubuntu.com/ubuntu trusty main universe multiverse restricted' - - sudo apt-get update -qq - - sudo apt-get install -y gcc-arm-none-eabi - - git fetch --all + - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; + sudo apt-add-repository 'deb http://archive.ubuntu.com/ubuntu trusty main universe multiverse restricted'; + sudo apt-get update -qq; + sudo apt-get install -y gcc-arm-none-eabi; + fi + - git fetch --all #make command script: "make all" \ No newline at end of file