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