-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
55 lines (45 loc) · 1.55 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
# 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 >
#
#
# Please choice one of the following templates (proposed below) and uncomment
# it (remove "# " before each line) or use own configuration according to the
# Travis CI documentation (see above).
#
#
# 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=test/test_storage/test_storage.cpp
# - PLATFORMIO_CI_SRC=examples/file.ino
# - PLATFORMIO_CI_SRC=./ParameterStore.cpp
install:
- pip install -U https://github.com/platformio/platformio-core/archive/develop.zip
script:
- echo "Run desktop (native) tests on Travis.CI Linux machine"
- platformio test -e native
# - echo "List remote devices"
# - platformio remote device list
# - echo "Run embedded test on remote devices"
# - platformio remote test -e uno -e nodemcu
# - platformio ci --lib="." --project-conf=platformio.ini
# - export PLATFORMIO_BUILD_FLAGS="-DNATIVE_PLATFORM"