2 # variable REPOSITORY_EP must be filled with repository name. as sample: "merlokk/proxmark3"
7 # Test on Linux and MacOS
11 osx_image: xcode7.3 # OS X 10.11
13 osx_image: xcode8.3 # OS X 10.12
15 osx_image: xcode9 # OS X 10.12
17 osx_image: xcode9.2 # OS X 10.12
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
27 if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
28 sudo apt-get update -qq;
29 sudo apt-get install -y gcc-arm-none-eabi;
30 elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
32 if [[ "$REPOSITORY_EP" == "" ]]; then
33 brew tap proxmark/proxmark3;
35 brew tap "$REPOSITORY_EP" --env=std;
40 if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
42 brew install -v --HEAD proxmark3;
43 elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
50 ## for the time being we are satisfied if it can be build and then successfully started
51 if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
52 proxmark3 /dev/notexists travis_test_commands.scr ;
53 elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
54 ./client/proxmark3 /dev/notexists travis_test_commands.scr ;