2017-01-24 03:55:27 +08:00
# Travis-CI Build for IcemanFork/Proxmark3
2016-01-09 05:14:22 +08:00
language : c
2016-01-09 05:30:36 +08:00
2016-10-14 22:53:49 +08:00
#default linux build env is: Ubuntu 14.04 trusty
dist : trusty
sudo : required
2016-01-09 05:14:22 +08:00
#install:
compiler : gcc
2016-10-14 22:46:10 +08:00
# multi platform build test
2016-10-14 22:13:06 +08:00
# build matrix,
# LINUX : Using trusty beta build environment, based on Ubuntu 14.04
# MAC OS:
matrix :
include :
- os : osx
2016-10-14 22:19:06 +08:00
osx_image : xcode7.3
2016-10-14 22:13:06 +08:00
allow_failures :
- os : osx
2016-10-14 22:20:10 +08:00
2017-01-24 03:59:19 +08:00
#before_install:
2017-01-24 06:15:06 +08:00
2017-01-24 06:11:22 +08:00
2016-01-09 05:30:36 +08:00
## 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 :
2017-01-24 04:12:28 +08:00
- 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
2017-01-24 06:17:26 +08:00
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
2017-01-27 04:34:01 +08:00
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install perl; fi
2017-01-24 06:17:26 +08:00
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew tap iceman1001/proxmark3; fi
2017-01-24 04:12:28 +08:00
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install proxmark3; fi
2017-01-24 06:17:26 +08:00
#make command
2016-02-19 02:04:15 +08:00
script : "make all"