Skip to content

Commit ccbf030

Browse files
committed
Use BareMinimum.ino to test the "all" IDE version name
For some reason Arduino IDE 1.5.3 on Linux or CLI doesn't correctly handle library constructors. Rather than struggle to find some library that will work with 1.5.3 it's easier just to use the basic sketch.
1 parent fb5661e commit ccbf030

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,7 @@ script:
141141
# Test library installed from .zip with dot in the folder name
142142
- build_sketch "${SKETCHBOOK_FOLDER}/libraries/CapacitiveSensor-0.5.1/examples/CapacitiveSensorSketch/CapacitiveSensorSketch.pde" "arduino:avr:uno" "false" "newest"
143143
# Test library installed from .zip
144-
# Test build_sketch with "all" IDE version name
145-
- build_sketch "${SKETCHBOOK_FOLDER}/libraries/NewPing/examples/NewPingExample/NewPingExample.pde" "arduino:avr:uno" "false" "all"
144+
- build_sketch "${SKETCHBOOK_FOLDER}/libraries/NewPing/examples/NewPingExample/NewPingExample.pde" "arduino:avr:uno" "false" "newest"
146145
# Test library installed from .git
147146
- build_sketch "${SKETCHBOOK_FOLDER}/libraries/WirelessOregonV2/examples/OregonReceiver/OregonReceiver.ino" "arduino:avr:uno" "false" "newest"
148147
# Test library installed from .git with branch
@@ -157,6 +156,8 @@ script:
157156
# build_sketch with version argument tests
158157
# Test build_sketch with no IDE version argument (should use all installed IDE versions)
159158
- build_sketch "${APPLICATION_FOLDER}/arduino/examples/01.Basics/BareMinimum/BareMinimum.ino" "arduino:avr:uno" "false"
159+
# Test build_sketch with "all" IDE version name
160+
- build_sketch "${APPLICATION_FOLDER}/arduino/examples/01.Basics/BareMinimum/BareMinimum.ino" "arduino:avr:uno" "false" "all"
160161
# Test build_sketch with "oldest" IDE version name
161162
- build_sketch "${APPLICATION_FOLDER}/arduino/examples/01.Basics/BareMinimum/BareMinimum.ino" "arduino:avr:uno" "false" "oldest"
162163
# Test build_sketch allowed to fail (this will fail because WirelessOregonV2 is AVR specific)

0 commit comments

Comments
 (0)