]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - .travis.yml
chg: how to do if-then-elsif-endif ?
[proxmark3-svn] / .travis.yml
index a81e7eb819c975eadbe2f3f38bc251666a67e7f6..8bd8c1a74f9e22260cb0d9fa4b17e9f3a2fa5fdf 100644 (file)
@@ -20,22 +20,19 @@ matrix:
     - os: osx
 
 # MAC OS - dependencies?
-before_install:
-  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
-  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew tap iceman1001/proxmark3; fi
+#before_install:
+#  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
+#  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew tap iceman1001/proxmark3; fi
 
 ## 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
Impressum, Datenschutz