|
1 # Continuous Integration (CI) is the practice, in software |
|
2 # engineering, of merging all developer working copies with a shared mainline |
|
3 # several times a day < http://docs.platformio.org/en/latest/ci/index.html > |
|
4 # |
|
5 # Documentation: |
|
6 # |
|
7 # * Travis CI Embedded Builds with PlatformIO |
|
8 # < https://docs.travis-ci.com/user/integration/platformio/ > |
|
9 # |
|
10 # * PlatformIO integration with Travis CI |
|
11 # < http://docs.platformio.org/en/latest/ci/travis.html > |
|
12 # |
|
13 # * User Guide for `platformio ci` command |
|
14 # < http://docs.platformio.org/en/latest/userguide/cmd_ci.html > |
|
15 # |
|
16 # |
|
17 # Please choice one of the following templates (proposed below) and uncomment |
|
18 # it (remove "# " before each line) or use own configuration according to the |
|
19 # Travis CI documentation (see above). |
|
20 # |
|
21 |
|
22 |
|
23 # |
|
24 # Template #1: General project. Test it using existing `platformio.ini`. |
|
25 # |
|
26 |
|
27 # language: python |
|
28 # python: |
|
29 # - "2.7" |
|
30 # |
|
31 # sudo: false |
|
32 # cache: |
|
33 # directories: |
|
34 # - "~/.platformio" |
|
35 # |
|
36 # install: |
|
37 # - pip install -U platformio |
|
38 # |
|
39 # script: |
|
40 # - platformio run |
|
41 |
|
42 |
|
43 # |
|
44 # Template #2: The project is intended to by used as a library with examples |
|
45 # |
|
46 |
|
47 # language: python |
|
48 # python: |
|
49 # - "2.7" |
|
50 # |
|
51 # sudo: false |
|
52 # cache: |
|
53 # directories: |
|
54 # - "~/.platformio" |
|
55 # |
|
56 # env: |
|
57 # - PLATFORMIO_CI_SRC=path/to/test/file.c |
|
58 # - PLATFORMIO_CI_SRC=examples/file.ino |
|
59 # - PLATFORMIO_CI_SRC=path/to/test/directory |
|
60 # |
|
61 # install: |
|
62 # - pip install -U platformio |
|
63 # |
|
64 # script: |
|
65 # - platformio ci --lib="." --board=TYPE_1 --board=TYPE_2 --board=TYPE_N |