proxmark3/.travis.yml

45 lines
1.1 KiB
YAML
Raw Normal View History

# Travis-CI Build for RfidResearchGroup/Proxmark3
2016-01-09 05:14:22 +08:00
language: c
2019-07-17 20:50:59 +08:00
#default linux build env is: xenial
compiler: gcc
# Test on Linux and MacOS
matrix:
include:
- os: osx
2019-07-19 20:00:26 +08:00
osx_image: xcode9.2 # OS X 10.13
2017-06-09 20:43:20 +08:00
- os: linux
2019-07-17 20:50:59 +08:00
dist: xenial
2017-06-09 20:43:20 +08:00
sudo: required
before_install:
## Install ARM toolchain on Linux.
## add our homebrew tap for MacOS
## Note: all dependencies on MacOS should be resolved by the brew install command
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
sudo apt-get update -qq;
2019-07-18 01:17:20 +08:00
sudo apt-get install -y gcc-arm-none-eabi libnewlib-dev;
elif [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew update;
brew tap RfidResearchGroup/proxmark3;
fi
install:
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew info proxmark3;
brew options proxmark3;
brew install --HEAD proxmark3;
elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
make all;
fi
before_script:
2017-01-24 06:17:26 +08:00
2017-06-09 20:43:20 +08:00
script:
## start and run a test script
2017-09-18 03:50:20 +08:00
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
proxmark3 -h ;
elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
./client/proxmark3 -h ;
fi