Skip to content

Commit 2c54855

Browse files
updating Travis CI
1 parent e53f61b commit 2c54855

File tree

1 file changed

+16
-9
lines changed

1 file changed

+16
-9
lines changed

.travis.yml

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,19 @@
1-
language: c++
1+
language: python
2+
python:
3+
- "2.7"
4+
5+
# Cache PlatformIO packages using Travis CI container-based infrastructure
26
sudo: false
3-
before_install:
4-
- source <(curl -SLs https://raw.githubusercontent.com/adafruit/travis-ci-arduino/master/install.sh)
7+
cache:
8+
directories:
9+
- "~/.platformio"
10+
11+
env:
12+
- PLATFORMIO_CI_SRC=examples/delay/delay.ino
13+
- PLATFORMIO_CI_SRC=examples/repeat/repeat.ino
14+
515
install:
6-
- arduino
16+
- pip install -U platformio
17+
718
script:
8-
- build_main_platforms
9-
notifications:
10-
email:
11-
on_success: change
12-
on_failure: change
19+
- platformio ci --lib="." --board=uno

0 commit comments

Comments
 (0)