From d773f4ba2e529b743d0d4e3010a27039614bc3d6 Mon Sep 17 00:00:00 2001 From: merlokk <807634+merlokk@users.noreply.github.com> Date: Tue, 20 Aug 2019 00:25:18 +0300 Subject: [PATCH] add matrix build with BTADDON --- .travis.yml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 17b15fa55..7ccdce078 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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