-
-
Notifications
You must be signed in to change notification settings - Fork 26
/
.travis.yml
62 lines (58 loc) · 2.72 KB
/
.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# Continuous Integration (CI) is the practice, in software
# engineering, of merging all developer working copies with a shared mainline
# several times a day < http://docs.platformio.org/page/ci/index.html >
#
# Documentation:
#
# * Travis CI Embedded Builds with PlatformIO
# < https://docs.travis-ci.com/user/integration/platformio/ >
#
# * PlatformIO integration with Travis CI
# < http://docs.platformio.org/page/ci/travis.html >
#
# * User Guide for `platformio ci` command
# < http://docs.platformio.org/page/userguide/cmd_ci.html >
#
#
# Template #2: The project is intended to by used as a library with examples
#
language: python
python:
- "2.7"
#
sudo: false
cache:
directories:
- "~/.platformio"
#
env:
- PLATFORMIO_CI_SRC=examples/battery_measurement/battery_measurement.ino
- PLATFORMIO_CI_SRC=examples/blink_demo_1/blink_demo_1.ino
- PLATFORMIO_CI_SRC=examples/blink_demo_2/blink_demo_2.ino
- PLATFORMIO_CI_SRC=examples/digital_humidity_temperature/digital_humidity_temperature.ino
- PLATFORMIO_CI_SRC=examples/initial_demo_blink_temperature/initial_demo_blink_temperature.ino
- PLATFORMIO_CI_SRC=examples/mayfly_serial_simple/mayfly_serial_simple.ino
- PLATFORMIO_CI_SRC=examples/mayfly_sonar/mayfly_sonar.ino
- PLATFORMIO_CI_SRC=examples/simple_file_example/simple_file_example.ino
- PLATFORMIO_CI_SRC=workshop/mayfly_01_blink/mayfly_01_blink.ino
- PLATFORMIO_CI_SRC=workshop/mayfly_02_button/mayfly_02_button.ino
- PLATFORMIO_CI_SRC=workshop/mayfly_03_FSR_force_sensitive_resistor/mayfly_03_FSR_force_sensitive_resistor.ino
- PLATFORMIO_CI_SRC=workshop/mayfly_04_tmp36_analogTemperature/mayfly_04_tmp36_analogTemperature.ino
- PLATFORMIO_CI_SRC=workshop/mayfly_05_blink_temperature/mayfly_05_blink_temperature.ino
- PLATFORMIO_CI_SRC=workshop/mayfly_06_humidity-temp/mayfly_06_humidity-temp.ino
- PLATFORMIO_CI_SRC=workshop/mayfly_07_tsl2561_Luminosity/mayfly_07_tsl2561_Luminosity.ino
- PLATFORMIO_CI_SRC=workshop/mayfly_07b_tsl2561_Luminosity_OLED/mayfly_07b_tsl2561_Luminosity_OLED.ino
- PLATFORMIO_CI_SRC=workshop/mayfly_08_magnetswitch/mayfly_08_magnetswitch.ino
- PLATFORMIO_CI_SRC=workshop/mayfly_09_tmp36_analogTemp_xbee/mayfly_09_tmp36_analogTemp_xbee.ino
- PLATFORMIO_CI_SRC=workshop/mayfly_10_sonar/mayfly_10_sonar.ino
- PLATFORMIO_CI_SRC=workshop/mayfly_10b_DHT_LED/mayfly_10b_DHT_LED.ino
- PLATFORMIO_CI_SRC=workshop/mayfly_10c_TempDS18B20_LED/mayfly_10c_TempDS18B20_LED.ino
#
install:
- pip install -U platformio
- platformio upgrade
- platformio update
- pio lib -g install https://github.com/EnviroDIY/Libraries.git#platformio
- pio lib -g update
script:
- platformio ci --project-option="lib_ldf_mode = deep+" --board=mayfly