]>
Commit | Line | Data |
---|---|---|
4dc3a032 | 1 | # Travis-CI Build for IcemanFork/Proxmark3 |
daa93f2a | 2 | language: c |
30207336 | 3 | |
9ca4aaa0 | 4 | #default linux build env is: Ubuntu 14.04 trusty |
5 | dist: trusty | |
6 | sudo: required | |
7 | ||
daa93f2a | 8 | #install: |
9 | compiler: gcc | |
10 | ||
3881c53b | 11 | # multi platform build test |
a72971eb | 12 | # build matrix, |
13 | # LINUX : Using trusty beta build environment, based on Ubuntu 14.04 | |
14 | # MAC OS: | |
15 | matrix: | |
16 | include: | |
a72971eb | 17 | - os: osx |
82b94b65 | 18 | osx_image: xcode7.3 |
a72971eb | 19 | allow_failures: |
20 | - os: osx | |
bc0d7111 | 21 | |
a72971eb | 22 | # MAC OS - dependencies? |
cb53a16c | 23 | #before_install: |
24 | # - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi | |
25 | # - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew tap iceman1001/proxmark3; fi | |
a72971eb | 26 | |
30207336 | 27 | ## Install mainline ARM toolchain. gcc-arm-none-eabi is available |
28 | ## in Ubuntu >= 14.04, but this external PPA is needed for 12.04. | |
29 | before_script: | |
4dc3a032 | 30 | if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then |
cb53a16c | 31 | sudo apt-add-repository 'deb http://archive.ubuntu.com/ubuntu trusty main universe multiverse restricted'; |
32 | sudo apt-get update -qq; | |
33 | sudo apt-get install -y gcc-arm-none-eabi; | |
34 | git fetch --all | |
4dc3a032 | 35 | elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then |
cb53a16c | 36 | brew update; |
37 | brew tap iceman1001/proxmark3; | |
38 | brew install proxmark3; | |
4dc3a032 | 39 | fi |
0608673a | 40 | #make command |
0608673a | 41 | script: "make all" |