]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
CHG: trying to add OSX for Travis CI
authoriceman1001 <iceman@iuse.se>
Mon, 23 Jan 2017 19:55:27 +0000 (20:55 +0100)
committericeman1001 <iceman@iuse.se>
Mon, 23 Jan 2017 19:55:27 +0000 (20:55 +0100)
.travis.yml

index fd121e8afef96666f690e12c8354c8f76b2eb443..a81e7eb819c975eadbe2f3f38bc251666a67e7f6 100644 (file)
@@ -1,4 +1,4 @@
-# Travis-CI Build for Iceman Fork / Proxmark3
+# Travis-CI Build for IcemanFork/Proxmark3
 language: c
 
 #default linux build env is: Ubuntu 14.04 trusty
@@ -21,15 +21,21 @@ matrix:
 
 # MAC OS - dependencies?
 before_install:
-  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update          ; fi
+  - 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
 #make command
 script: "make all"
\ No newline at end of file
Impressum, Datenschutz