2016-01-09 05:14:22 +08:00
|
|
|
# Travis-CI Build for Iceman Fork / Proxmark3
|
|
|
|
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
|
|
|
|
2016-10-14 22:13:06 +08:00
|
|
|
# MAC OS - dependencies?
|
|
|
|
before_install:
|
|
|
|
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
|
|
|
|
|
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:
|
2016-10-15 05:02:29 +08:00
|
|
|
- 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;
|
2016-10-15 03:15:25 +08:00
|
|
|
- git fetch --all
|
2016-01-09 05:30:36 +08:00
|
|
|
|
2016-02-19 02:04:15 +08:00
|
|
|
#make command
|
|
|
|
script: "make all"
|