add matrix build with BTADDON

This commit is contained in:
merlokk 2019-08-20 00:25:18 +03:00
parent 589f1e9d3e
commit d773f4ba2e

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