mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-01 05:07:03 +08:00
39 lines
No EOL
780 B
YAML
39 lines
No EOL
780 B
YAML
# Travis-CI Build for RfidResearchGroup/Proxmark3
|
|
language: c
|
|
|
|
#default linux build env is: xenial
|
|
compiler: gcc
|
|
|
|
# Test on Linux and MacOS
|
|
matrix:
|
|
include:
|
|
- os: osx
|
|
osx_image: xcode11
|
|
- os: linux
|
|
dist: xenial
|
|
sudo: required
|
|
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- gcc-arm-none-eabi
|
|
- libnewlib-dev
|
|
homebrew:
|
|
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
|
|
make all;
|
|
fi
|
|
|
|
script:
|
|
## start and run a test script
|
|
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
|
proxmark3 -h ;
|
|
elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
|
./client/proxmark3 -h ;
|
|
fi |