]> git.zerfleddert.de Git - proxmark3-svn/blame_incremental - CI/.travis.yml
Merge pull request #969 from pwpiwi/gcc10_fixes
[proxmark3-svn] / CI / .travis.yml
... / ...
CommitLineData
1# Travis-CI config
2# variable REPOSITORY_EP must be filled with repository name. as sample: "merlokk/proxmark3"
3
4language: c
5
6compiler: gcc
7
8# Test on Linux and MacOS
9jobs:
10 include:
11 - os: osx
12 osx_image: xcode9.4 # OS X 10.13
13 - os: osx
14 osx_image: xcode10 # OS X 10.13
15 - os: osx
16 osx_image: xcode11 # OS X 10.14
17 - os: linux
18 dist: trusty # Ubuntu 14.04
19 - os: linux
20 dist: xenial # Ubuntu 16.04
21 - os: linux
22 dist: bionic # Ubuntu 18.04
23
24git:
25 depth: false
26
27before_install:
28## Install ARM toolchain on Linux.
29## add our homebrew tap for MacOS
30## Note: all dependencies on MacOS should be resolved by the brew install command
31 echo $REPOSITORY_EP;
32 if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
33 sudo apt-get update -qq;
34 sudo apt-get install -y gcc-arm-none-eabi libnewlib-arm-none-eabi libpcsclite-dev;
35 elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
36 brew update;
37 if [[ "$REPOSITORY_EP" == "" ]]; then
38 brew tap --full proxmark/proxmark3;
39 else
40 brew tap --full "$REPOSITORY_EP" --env=std;
41 fi
42 fi
43
44install:
45 if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
46 brew info proxmark3;
47 brew install -v --HEAD proxmark3;
48 elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
49 make all;
50 fi
51
52before_script:
53
54script:
55## for the time being we are satisfied if it can be build and hf mf hardnested runs
56 if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
57 proxmark3 /dev/notexists travis_test_commands.scr ;
58 elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
59 ./client/proxmark3 /dev/notexists travis_test_commands.scr ;
60 fi
Impressum, Datenschutz