From c848d028b593d4e1c38b41b6d14478c7a61fcf6b Mon Sep 17 00:00:00 2001 From: Luc Date: Sun, 30 Jun 2019 16:22:35 +0200 Subject: [PATCH] Update .travis.yml add platformio compilation test --- .travis.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 786cfa62..0f5c27c1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,18 @@ sudo: false -language: bash +language: python + python: + - "2.7" os: - linux + +cache: + directories: + - "~/.platformio" +install: + - pip install -U platformio + - platformio update before_script: - wget http://downloads.arduino.cc/arduino-1.8.5-linux64.tar.xz @@ -31,6 +40,7 @@ before_script: - mv $TRAVIS_BUILD_DIR/libraries/ESP32NETBIOS $HOME/arduino_ide/libraries/ script: + - platformio run - cd $TRAVIS_BUILD_DIR - source command.sh - export PATH="$HOME/arduino_ide:$PATH"