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: 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