mirror of
https://github.com/bblanchon/ArduinoJson.git
synced 2025-07-30 02:37:35 +02:00
Moved to the new Travis infrastructure
This commit is contained in:
12
.travis.yml
12
.travis.yml
@ -1,17 +1,17 @@
|
|||||||
|
sudo: false
|
||||||
language: c++
|
language: c++
|
||||||
compiler:
|
compiler:
|
||||||
- gcc
|
- gcc
|
||||||
- clang
|
- clang
|
||||||
before_install:
|
before_install:
|
||||||
|
- pip install --user cpp-coveralls
|
||||||
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_1.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :1 -ac -screen 0 1280x1024x16"
|
- "/sbin/start-stop-daemon --start --quiet --pidfile /tmp/custom_xvfb_1.pid --make-pidfile --background --exec /usr/bin/Xvfb -- :1 -ac -screen 0 1280x1024x16"
|
||||||
- sleep 3
|
- sleep 3
|
||||||
- export DISPLAY=:1.0
|
- export DISPLAY=:1.0
|
||||||
- wget http://downloads.arduino.cc/arduino-1.6.5-linux64.tar.xz
|
- mkdir -p /tmp/arduino
|
||||||
- tar xf arduino-1.6.5-linux64.tar.xz
|
- curl http://downloads.arduino.cc/arduino-1.6.5-linux64.tar.xz | tar xJ -C /tmp/arduino --strip 1
|
||||||
- sudo mv arduino-1.6.5 /usr/local/share/arduino
|
- export PATH=$PATH:/tmp/arduino/
|
||||||
- sudo ln -s /usr/local/share/arduino/arduino /usr/local/bin/arduino
|
- ln -s $PWD /tmp/arduino/libraries/ArduinoJson
|
||||||
- sudo ln -s $PWD /usr/local/share/arduino/libraries/ArduinoJson
|
|
||||||
- sudo pip install cpp-coveralls
|
|
||||||
script:
|
script:
|
||||||
- cmake -DCOVERAGE=true . && make && make test
|
- cmake -DCOVERAGE=true . && make && make test
|
||||||
- arduino --verify --board arduino:avr:uno $PWD/examples/JsonParserExample/JsonParserExample.ino
|
- arduino --verify --board arduino:avr:uno $PWD/examples/JsonParserExample/JsonParserExample.ino
|
||||||
|
Reference in New Issue
Block a user