mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-04 15:20:27 +08:00
add matrix build with BTADDON
This commit is contained in:
parent
589f1e9d3e
commit
d773f4ba2e
1 changed files with 13 additions and 3 deletions
16
.travis.yml
16
.travis.yml
|
@ -15,9 +15,18 @@ matrix:
|
||||||
include:
|
include:
|
||||||
- os: osx
|
- os: osx
|
||||||
osx_image: xcode11
|
osx_image: xcode11
|
||||||
|
env: MAKE_PARAMS='PLATFORM_EXTRAS='
|
||||||
|
- os: osx
|
||||||
|
osx_image: xcode11
|
||||||
|
env: MAKE_PARAMS='PLATFORM_EXTRAS=BTADDON'
|
||||||
- os: linux
|
- os: linux
|
||||||
dist: xenial
|
dist: xenial
|
||||||
sudo: required
|
sudo: required
|
||||||
|
env: MAKE_PARAMS='PLATFORM_EXTRAS='
|
||||||
|
- os: linux
|
||||||
|
dist: xenial
|
||||||
|
sudo: required
|
||||||
|
env: MAKE_PARAMS='PLATFORM_EXTRAS=BTADDON'
|
||||||
|
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
|
@ -37,19 +46,20 @@ addons:
|
||||||
|
|
||||||
install:
|
install:
|
||||||
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
||||||
|
brew update;
|
||||||
brew info proxmark3;
|
brew info proxmark3;
|
||||||
brew options proxmark3;
|
brew options proxmark3;
|
||||||
make clean;
|
make clean;
|
||||||
make all V=1;
|
make all V=1 "$MAKE_PARAMS";
|
||||||
elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
||||||
make clean;
|
make clean;
|
||||||
make all V=1;
|
make all V=1 "$MAKE_PARAMS";
|
||||||
fi
|
fi
|
||||||
|
|
||||||
script:
|
script:
|
||||||
## start and run a test script
|
## start and run a test script
|
||||||
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
||||||
./pm3test.sh;
|
./pm3test.sh;
|
||||||
elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
|
||||||
./pm3test.sh;
|
./pm3test.sh;
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue