forked from cesanta/mjson
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (34 loc) · 963 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
language: c
sudo: false
os:
- linux
- osx
# - windows
compiler:
- clang
- gcc
script: make test
matrix:
include:
- os: linux
compiler: msvc98
script: make vc98
sudo: required
services:
- docker
- os: linux
compiler: arduino
sudo: required
before_install:
- wget http://downloads.arduino.cc/arduino-cli/arduino-cli-latest-linux64.tar.bz2
- tar xf arduino-cli-latest-linux64.tar.bz2
- mkdir -p $HOME/bin
- mv arduino-cli-*-linux64 $HOME/bin/arduino-cli
- export PATH=$PATH:$HOME/bin
- arduino-cli core update-index
- arduino-cli core install arduino:avr;
script:
- arduino-cli sketch new TestSketch
- cp $PWD/example/shadow.ino $HOME/Arduino/TestSketch/TestSketch.ino
- cp mjson.h $HOME/Arduino/TestSketch
- arduino-cli compile --verbose --warnings all --fqbn arduino:avr:nano $HOME/Arduino/TestSketch