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