Merge pull request #344 from merlokk/tr_matrix_part

add matrix build with BTADDON
This commit is contained in:
Oleg Moiseenko 2019-08-20 00:46:47 +03:00 committed by GitHub
commit 748cbc9404
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,9 +15,18 @@ matrix:
include:
- os: osx
osx_image: xcode11
env: MAKE_PARAMS='PLATFORM_EXTRAS='
- os: osx
osx_image: xcode11
env: MAKE_PARAMS='PLATFORM_EXTRAS=BTADDON'
- os: linux
dist: xenial
sudo: required
env: MAKE_PARAMS='PLATFORM_EXTRAS='
- os: linux
dist: xenial
sudo: required
env: MAKE_PARAMS='PLATFORM_EXTRAS=BTADDON'
addons:
apt:
@ -37,19 +46,20 @@ addons:
install:
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
brew update;
brew info proxmark3;
brew options proxmark3;
make clean;
make all V=1;
make all V=1 "$MAKE_PARAMS";
elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
make clean;
make all V=1;
make all V=1 "$MAKE_PARAMS";
fi
script:
## start and run a test script
if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
./pm3test.sh;
./pm3test.sh;
elif [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
./pm3test.sh;
fi