From b2b6d29b0524eb563ccdb2dd9ae55cbb8e0baba3 Mon Sep 17 00:00:00 2001 From: thelsing Date: Sun, 2 Jun 2019 00:54:09 +0200 Subject: [PATCH] Update .travis.yml --- .travis.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1400242..265f96a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,15 +15,17 @@ matrix: packages: - g++-7 env: - - CC=gcc-7 - - CXX=g++-7 + - MATRIX_EVAL="CC=gcc-7 && CXX=g++-7" - MODE=LINUX - os: linux env: - MODE=ARDUINO before_install: + - if [ "$MODE" = "LINUX" ]; then eval "${MATRIX_EVAL}"; fi - if [ "$MODE" = "ARDUINO" ]; then source <(curl -SLs https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/install.sh); fi +install: + - if [ "$MODE" = "ARDUINO" ]; then arduino --install-library "WiFiManager"; fi script: - if [ "$MODE" = "LINUX" ]; then cd knx-linux; fi - if [ "$MODE" = "LINUX" ]; then mkdir -p build; fi