File tree Expand file tree Collapse file tree 3 files changed +21
-69
lines changed Expand file tree Collapse file tree 3 files changed +21
-69
lines changed Original file line number Diff line number Diff line change 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/page/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/page/ci/travis.html >
12
- #
13
- # * User Guide for `platformio ci` command
14
- # < http://docs.platformio.org/page/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=ID_1 --board=ID_2 --board=ID_N
1
+ sudo : false
2
+ language : cpp
3
+ matrix :
4
+ include :
5
+ - env : SCRIPT=platformioEsp8266 BOARD=d1_mini
6
+ cache :
7
+ directories :
8
+ - " ~/.platformio"
9
+ script : scripts/travis/$SCRIPT.sh
Original file line number Diff line number Diff line change 8
8
; Please visit documentation for the other options and examples
9
9
; http://docs.platformio.org/page/projectconf.html
10
10
11
+ lib_deps_external = ArduinoJson
12
+
11
13
[env:d1_mini]
12
14
platform = espressif8266
13
15
board = d1_mini
14
16
framework = arduino
15
-
16
- lib_deps =
17
- # Using library Name
18
- ArduinoJson
Original file line number Diff line number Diff line change
1
+ #! /bin/sh -eux
2
+
3
+ pip install --user platformio
4
+
5
+ rm -r test
6
+
7
+ for EXAMPLE in $PWD /examples/ESP8266/* /* .ino;
8
+ do
9
+ platformio ci $EXAMPLE -l ' .' -b $BOARD
10
+ done
You can’t perform that action at this time.
0 commit comments