Skip to content

Commit d064c7d

Browse files
committed
Merge pull request Arduino-IRremote#306 from ivankravets/patch-4
Cache PlatformIO packages using Travis CI container-based infrastructure
2 parents b8ef1c3 + 33c2e36 commit d064c7d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.travis.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
language: python
22
python:
33
- "2.7"
4+
5+
# Cache PlatformIO packages using Travis CI container-based infrastructure
6+
sudo: false
7+
cache:
8+
directories:
9+
- "~/.platformio"
410

511
env:
612
- PLATFORMIO_CI_SRC=examples/AiwaRCT501SendDemo PLATFORMIO_BUILD_FLAGS="-DSEND_AIWA_RC_T501"
@@ -16,7 +22,7 @@ env:
1622
- PLATFORMIO_CI_SRC=examples/IRremoteInfo
1723

1824
install:
19-
- python -c "$(curl -fsSL https://raw.githubusercontent.com/platformio/platformio/master/scripts/get-platformio.py)"
25+
- pip install -U platformio
2026

2127
script:
2228
- platformio ci --lib="." --board=uno --board=leonardo --board=pro16MHzatmega168

0 commit comments

Comments
 (0)