]> git.zerfleddert.de Git - proxmark3-svn/blob - .travis.yml
eed0f8e512c72cb3657a75d8ba2ea3b92212627a
[proxmark3-svn] / .travis.yml
1 # Travis-CI config
2 # variable REPOSITORY_EP must be filled with repository name. as sample: "merlokk/proxmark3"
3 language: c
4
5 compiler: gcc
6
7 # Test on Linux and MacOS
8 matrix:
9 include:
10 - os: osx
11 osx_image: xcode7.3 # OS X 10.11
12 - os: osx
13 osx_image: xcode8.3 # OS X 10.12
14 - os: osx
15 osx_image: xcode9 # OS X 10.13
16 - os: osx
17 osx_image: xcode9.1 # OS X 10.13.1
18 - os: linux
19 dist: trusty
20 sudo: required
21
22 before_install:
23 ## Install ARM toolchain on Linux.
24 ## add our homebrew tap for MacOS
25 ## Note: all dependencies on MacOS should be resolved by the brew install command
26 if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
27 sudo apt-get update -qq;
28 sudo apt-get install -y gcc-arm-none-eabi;
29 elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
30 brew update;
31 brew tap "$REPOSITORY_EP";
32 fi
33
34 install:
35 if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
36 brew info proxmark3;
37 brew install -v --HEAD proxmark3;
38 elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
39 make all;
40 fi
41
42 before_script:
43
44 script:
45 ## for the time being we are satisfied if it can be build and then successfully started
46 if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
47 proxmark3 /dev/notexists travis_test_commands.scr ;
48 elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
49 ./client/proxmark3 /dev/notexists travis_test_commands.scr ;
50 fi
Impressum, Datenschutz