- - 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