|
11 | 11 | - SKETCHBOOK_FOLDER="${HOME}/arduino-sketchbook"
|
12 | 12 |
|
13 | 13 | matrix:
|
14 |
| - # Test install_ide with no argument (using full version list). This would cause the Travis CI build to take much longer so I have it disabled |
| 14 | + # Test install_ide with no argument (using full version list). Causes the job to exceed Travis CI's maximum duration and thus can not be run. |
15 | 15 | # - INSTALL_IDE_START_VERSION=""
|
16 |
| - # Test install_ide using full version list. This usually takes longer that the maximum job duration and thus errors the build so it must be disabled. |
| 16 | + |
| 17 | + # Test install_ide using full version list. Causes the job to exceed Travis CI's maximum duration and thus can not be run. |
17 | 18 | #- INSTALL_IDE_START_VERSION="all" VERBOSITY_LEVEL=0 VERBOSE_COMPILATION="false"
|
18 |
| - # Test install_ide using custom version list. Test the use of the special version names "oldest" and "newest" in a version list. Test use of "hourly" version name. |
19 |
| - - INSTALL_IDE_START_VERSION='("oldest" "1.8.1" "1.8.2" "newest" "hourly")' VERBOSITY_LEVEL=1 VERBOSE_COMPILATION="true" |
| 19 | + |
| 20 | + # Test install_ide using custom version list |
| 21 | + # Test the use of the special version names "oldest", "newest", and "hourly" in a version list. |
| 22 | + # Test duplicates in version list |
| 23 | + - INSTALL_IDE_START_VERSION='("oldest" "1.8.3" "1.8.4" "1.8.4" "newest" "hourly")' VERBOSITY_LEVEL=1 VERBOSE_COMPILATION="true" |
| 24 | + |
| 25 | + # Test install_ide using version range. |
| 26 | + # Test the use of the special version name "newest" in a version range. |
| 27 | + # Test installing the full sane range of IDE versions |
| 28 | + - INSTALL_IDE_START_VERSION="1.6.5-r5" INSTALL_IDE_END_VERSION="newest" VERBOSITY_LEVEL=0 VERBOSE_COMPILATION="false" |
| 29 | + |
| 30 | + # Test the use of the special version name "hourly" in a version range. |
| 31 | + - INSTALL_IDE_START_VERSION="1.8.3" INSTALL_IDE_END_VERSION="hourly" VERBOSITY_LEVEL=0 VERBOSE_COMPILATION="false" |
| 32 | + |
20 | 33 | # Allowed to fail
|
21 | 34 | # Test install_ide using single version
|
22 |
| - # test the failure behavior of install_package when a Boards Manager installation is attempted using an IDE version that doesn't support it. |
| 35 | + # Test the failure behavior of install_package when a Boards Manager installation is attempted using an IDE version that doesn't support it. |
23 | 36 | - INSTALL_IDE_START_VERSION="1.6.3" VERBOSITY_LEVEL=2 VERBOSE_COMPILATION="false"
|
24 |
| - # Test install_ide using version range. Test the use of the special version names "oldest" and "newest" in a version range. |
25 |
| - - INSTALL_IDE_START_VERSION="oldest" INSTALL_IDE_END_VERSION="newest" VERBOSITY_LEVEL=0 VERBOSE_COMPILATION="false" |
26 | 37 |
|
27 | 38 |
|
28 | 39 | matrix:
|
@@ -112,58 +123,69 @@ before_install:
|
112 | 123 |
|
113 | 124 |
|
114 | 125 | script:
|
115 |
| - # Test build_sketch without absolute path |
116 | 126 | # Test library installed from .zip with rename
|
117 | 127 | # Test library installed from .zip with dot in the folder name
|
118 | 128 | # Test board from hardware package manually installed from compressed file download
|
119 |
| - # Test build_sketch with an IDE version list |
| 129 | + # Test build_sketch with specific IDE version |
| 130 | + # Test build_sketch without absolute path |
120 | 131 | - cd "${SKETCHBOOK_FOLDER}/libraries/CapacitiveSensor/examples/CapacitiveSensorSketch/"
|
121 |
| - - build_sketch "CapacitiveSensorSketch.pde" "ATTinyCore-master:avr:attinyx5:LTO=disable,TimerClockSource=default,chip=85,clock=8internal,bod=disable" "false" '("1.8.1" "1.8.2")' |
| 132 | + - build_sketch "CapacitiveSensorSketch.pde" "ATTinyCore-master:avr:attinyx5:LTO=disable,TimerClockSource=default,chip=85,clock=8internal,bod=disable" "false" "1.8.4" |
| 133 | + |
122 | 134 | # Test library installed from .zip
|
123 | 135 | # Test board from hardware package installed via Boards Manager without URL
|
124 | 136 | # Test build_sketch with "newest" special version name
|
125 | 137 | - build_sketch "${SKETCHBOOK_FOLDER}/libraries/NewPing/examples/NewPingExample/NewPingExample.pde" "arduino:sam:arduino_due_x_dbg" "false" "newest"
|
| 138 | + |
126 | 139 | # Test library installed from .git
|
127 | 140 | # Test board from hardware package installed with Boards Manager URL
|
128 |
| - # Test build_sketch with specific IDE version |
129 |
| - - build_sketch "${SKETCHBOOK_FOLDER}/libraries/WirelessOregonV2/examples/OregonReceiver/OregonReceiver.ino" "MiniCore:avr:328:variant=modelP,BOD=2v7,LTO=Os,clock=16MHz_external" "false" "1.8.2" |
| 141 | + # Test build_sketch with an IDE version list |
| 142 | + - build_sketch "${SKETCHBOOK_FOLDER}/libraries/WirelessOregonV2/examples/OregonReceiver/OregonReceiver.ino" "MiniCore:avr:328:variant=modelP,BOD=2v7,LTO=Os,clock=16MHz_external" "false" '("1.8.3" "1.8.4")' |
| 143 | + |
130 | 144 | # Test library installed from .git with branch
|
131 | 145 | # Test board from hardware package manually installed by cloning Git repository
|
132 |
| - # Test build_sketch with an IDE version range |
133 |
| - - build_sketch "${SKETCHBOOK_FOLDER}/libraries/NanodeUNIO/examples/NanodeUNIO_test/NanodeUNIO_test.pde" "MightyCore:avr:1284:pinout=standard,variant=modelP,BOD=2v7,LTO=Os,clock=16MHz_external" "false" "1.8.1" "1.8.2" |
| 146 | + # Test build_sketch with an IDE version list using the "newest" special version name |
| 147 | + - build_sketch "${SKETCHBOOK_FOLDER}/libraries/NanodeUNIO/examples/NanodeUNIO_test/NanodeUNIO_test.pde" "MightyCore:avr:1284:pinout=standard,variant=modelP,BOD=2v7,LTO=Os,clock=16MHz_external" "false" '("1.8.4" "newest")' |
| 148 | + |
134 | 149 | # Test library installed from .git with rename
|
135 | 150 | # Test board from hardware package manually installed by cloning Git repository with non-default branch
|
136 |
| - - build_sketch "${SKETCHBOOK_FOLDER}/libraries/ArduinoShell/examples/ShellBlink/ShellBlink.ino" "mighty-1284p:avr:avr_developers" "false" "newest" |
| 151 | + # Test build_sketch with an IDE version range |
| 152 | + - build_sketch "${SKETCHBOOK_FOLDER}/libraries/ArduinoShell/examples/ShellBlink/ShellBlink.ino" "mighty-1284p:avr:avr_developers" "false" "1.8.3" "1.8.4" |
| 153 | + |
137 | 154 | # Test library installed from .git with branch and rename
|
138 |
| - - build_sketch "${SKETCHBOOK_FOLDER}/libraries/max_7456/examples/HelloWorld/HelloWorld.ino" "arduino:avr:uno" "false" "newest" |
139 |
| - # Test library installed from Library Manager |
140 |
| - - build_sketch "${SKETCHBOOK_FOLDER}/libraries/Pushetta/examples/simple_notification/simple_notification.ino" "arduino:avr:uno" "false" "newest" |
| 155 | + # Test build_sketch with an IDE version range using the "newest" special version name |
| 156 | + - build_sketch "${SKETCHBOOK_FOLDER}/libraries/max_7456/examples/HelloWorld/HelloWorld.ino" "arduino:avr:uno" "false" "1.8.4" "newest" |
141 | 157 |
|
142 |
| - # build_sketch with version argument tests |
143 | 158 | # Test build_sketch with no IDE version argument (should use all installed IDE versions)
|
144 | 159 | - build_sketch "${APPLICATION_FOLDER}/arduino/examples/01.Basics/BareMinimum/BareMinimum.ino" "arduino:avr:uno" "false"
|
| 160 | + |
145 | 161 | # Test build_sketch with "all" IDE version name
|
146 | 162 | - build_sketch "${APPLICATION_FOLDER}/arduino/examples/01.Basics/BareMinimum/BareMinimum.ino" "arduino:avr:uno" "false" "all"
|
147 |
| - # Test build_sketch with "oldest" IDE version name |
148 |
| - - build_sketch "${APPLICATION_FOLDER}/arduino/examples/01.Basics/BareMinimum/BareMinimum.ino" "arduino:avr:uno" "false" "oldest" |
| 163 | + |
| 164 | + # Test library installed from Library Manager |
| 165 | + - build_sketch "${SKETCHBOOK_FOLDER}/libraries/Pushetta/examples/simple_notification/simple_notification.ino" "arduino:avr:uno" "false" "newest" |
| 166 | + |
149 | 167 | # Test build_sketch allowed to fail (this will fail because WirelessOregonV2 is AVR specific)
|
150 | 168 | - build_sketch "${SKETCHBOOK_FOLDER}/libraries/WirelessOregonV2/examples/OregonReceiver/OregonReceiver.ino" "arduino:sam:arduino_due_x_dbg" "true" "newest"
|
151 | 169 |
|
152 | 170 | # build_sketch with folder argument tests:
|
| 171 | + |
153 | 172 | # Test build_sketch with folder argument with specific IDE version
|
154 |
| - - build_sketch "${APPLICATION_FOLDER}/arduino/examples/01.Basics" "arduino:avr:uno" "false" "1.8.1" |
155 |
| - # Test build_sketch with folder argument with "oldest" IDE version name |
156 |
| - - build_sketch "${APPLICATION_FOLDER}/arduino/examples/01.Basics" "arduino:avr:uno" "false" "oldest" |
157 |
| - # Test build_sketch with folder argument with "newest" IDE version name |
158 |
| - - build_sketch "${APPLICATION_FOLDER}/arduino/examples/01.Basics" "arduino:avr:uno" "false" "newest" |
159 |
| - # Test build_sketch with folder argument with "all" IDE version name |
160 |
| - - build_sketch "${APPLICATION_FOLDER}/arduino/examples/01.Basics" "arduino:avr:uno" "false" "all" |
161 |
| - # Test build_sketch with folder argument with no IDE version specified (should use all installed IDE versions) |
162 |
| - - build_sketch "${APPLICATION_FOLDER}/arduino/examples/01.Basics" "arduino:avr:uno" "false" |
| 173 | + - build_sketch "${APPLICATION_FOLDER}/arduino/examples/01.Basics" "arduino:avr:uno" "false" "1.8.4" |
| 174 | + |
163 | 175 | # Test build_sketch with folder argument with an IDE version list
|
164 |
| - - build_sketch "${APPLICATION_FOLDER}/arduino/examples/01.Basics" "arduino:avr:uno" "false" '("1.8.1" "1.8.2")' |
| 176 | + # Test build_sketch with an IDE version list using the "oldest" and "newest" special version names |
| 177 | + - build_sketch "${APPLICATION_FOLDER}/arduino/examples/01.Basics" "arduino:avr:uno" "false" '("oldest" "newest")' |
| 178 | + |
165 | 179 | # Test build_sketch with folder argument with an IDE version range
|
166 |
| - - build_sketch "${APPLICATION_FOLDER}/arduino/examples/01.Basics" "arduino:avr:uno" "false" "1.8.1" "1.8.2" |
| 180 | + # Test build_sketch with an IDE version range using the "oldest" and "newest" special version names |
| 181 | + - build_sketch "${APPLICATION_FOLDER}/arduino/examples/01.Basics" "arduino:avr:uno" "false" "oldest" "newest" |
| 182 | + |
| 183 | + # Test build_sketch with folder argument with no IDE version specified (should use all installed IDE versions) |
| 184 | + - build_sketch "${APPLICATION_FOLDER}/arduino/examples/01.Basics" "arduino:avr:uno" "false" |
| 185 | + |
| 186 | + # Test build_sketch with folder argument with "all" IDE version name |
| 187 | + - build_sketch "${APPLICATION_FOLDER}/arduino/examples/01.Basics" "arduino:avr:uno" "false" "all" |
| 188 | + |
167 | 189 | # Test build_sketch with folder argument required to fail (this will fail because WirelessOregonV2 is AVR specific)
|
168 | 190 | - build_sketch "${SKETCHBOOK_FOLDER}/libraries/WirelessOregonV2/examples" "arduino:sam:arduino_due_x_dbg" "require" "newest"
|
169 | 191 |
|
|
0 commit comments