proxmark3/.travis.yml

38 lines
1.2 KiB
YAML
Raw Normal View History

2017-01-24 03:55:27 +08:00
# Travis-CI Build for IcemanFork/Proxmark3
2016-01-09 05:14:22 +08:00
language: c
#default linux build env is: Ubuntu 14.04 trusty
dist: trusty
sudo: required
2016-01-09 05:14:22 +08:00
#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
2016-10-14 22:19:06 +08:00
osx_image: xcode7.3
allow_failures:
- os: osx
2017-01-24 03:59:19 +08:00
#before_install:
2017-01-24 06:15:06 +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
script: "make all"