X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/88a2610af579e01e46abd05423827f5cdfe68a1c..eabe8cea775c61e32eb64557199baf1b167aa50d:/.travis.yml diff --git a/.travis.yml b/.travis.yml index bb260aac..127cebc9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,15 +1,41 @@ -# Travis-CI Build for Iceman Fork / Proxmark3 +# Travis-CI Build for IcemanFork/Proxmark3 language: c +#default linux build env is: Ubuntu 14.04 trusty +dist: trusty +sudo: required + #install: compiler: gcc +# multi platform build test +# build matrix, +# LINUX : Using trusty beta build environment, based on Ubuntu 14.04 +# MAC OS: +matrix: + include: + - os: osx + osx_image: xcode7.3 + allow_failures: + - 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 + ## 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 - - #make command -script: "make clean && make all UBUNTU_1404_QT4=1" \ No newline at end of file + - 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