From: iceman1001 Date: Mon, 23 Jan 2017 20:12:28 +0000 (+0100) Subject: chg: how to do if-then-elsif-endif ? X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/d04dbd0c373191ec30fbe4a32b72d1b245b36d08?hp=eabe8cea775c61e32eb64557199baf1b167aa50d chg: how to do if-then-elsif-endif ? --- diff --git a/.travis.yml b/.travis.yml index 127cebc9..8bd8c1a7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,15 +27,12 @@ matrix: ## 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: - - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then - - 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 - - elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then - - brew update; - - brew tap iceman1001/proxmark3; - - brew install proxmark3; - fi + - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-add-repository 'deb http://archive.ubuntu.com/ubuntu trusty main universe multiverse restricted'; fi + - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update -qq; fi + - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get install -y gcc-arm-none-eabi; fi + - if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then git fetch --all; fi + - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi + - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew tap iceman1001/proxmark3; fi + - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install proxmark3; fi #make command script: "make all" \ No newline at end of file