proxmark3/.travis.yml

54 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
# move some env variables to homebrew env
env:
global:
- HOMEBREW_TRAVIS_BRANCH=$TRAVIS_BRANCH
- HOMEBREW_TRAVIS_COMMIT=$TRAVIS_COMMIT
# Test on Linux and MacOS
matrix:
include:
- os: osx
2019-07-25 20:41:52 +08:00
osx_image: xcode11
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
2019-07-25 20:41:52 +08:00
addons:
apt:
packages:
- gcc-arm-none-eabi
- libnewlib-dev
homebrew:
packages:
- readline
- p7zip
- libusb-compat
- perl
- qt5
- wget
- RfidResearchGroup/proxmark3/arm-none-eabi-gcc
2019-07-25 20:41:52 +08:00
taps: RfidResearchGroup/proxmark3
install:
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew info proxmark3;
brew options proxmark3;
brew install --HEAD proxmark3;
elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
2019-08-18 17:21:33 +08:00
make clean;
make all;
fi
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
2019-08-18 22:31:57 +08:00
./pm3test.sh;
2017-09-18 03:50:20 +08:00
fi