X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/d8784d5e8b3910fc0d6b505c98a2aadbcf0c039a..507afbf3e6f2f0d27d1e8ad60066d945c27ee721:/.travis.yml?ds=inline diff --git a/.travis.yml b/.travis.yml index 53628b47..ea0a545c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,17 +1,38 @@ -# 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 -before script: - ## Install mainline ARM toolchain. gcc-arm-none-eabi is available - ## in Ubuntu >= 14.04, but this external PPA is needed for 12.04. - ## Install srecord - - if [ ${BUILD_ARCH:-0} = arm-aapcs ] ; then - sudo add-apt-repository -y ppa:terry.guo/gcc-arm-embedded && - sudo apt-get -qq update && - sudo apt-get -qq install gcc-arm-none-eabi srecord && - arm-none-eabi-gcc --version ; - fi - -script: make clean && make all UBUNTU_1404_QT4=1 \ No newline at end of file +# 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 + +#before_install: + + +## 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'; 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 install perl; 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