summaryrefslogtreecommitdiffstats
path: root/.travis.yml
blob: 7940af5eef14b8f4faee7fa241b2c33c4000023a (plain) (blame)
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
# Continuous Integration (CI) is the practice, in software
# engineering, of merging all developer working copies with a shared mainline
# several times a day < https://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
#   < https://docs.platformio.org/page/ci/travis.html >
#
# * User Guide for `platformio ci` command
#   < https://docs.platformio.org/page/userguide/cmd_ci.html >
#
#
# Please choose 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).
#

language: python
python:
  - "3.7"

# Cache PlatformIO packages using Travis CI container-based infrastructure
sudo: false
cache:
  directories:
    - "~/.platformio"
    - $HOME/.cache/pip

env:
  - PLATFORMIO_CI_SRC=examples/Single_Shot/Single_Shot.ino
  - PLATFORMIO_CI_SRC=examples/Continuous/Continuous.ino
  - PLATFORMIO_CI_SRC=examples/Alert_Window_Mode/Alert_Window_Mode.ino

install:
  - pip install -U platformio pip setuptools
  - platformio update

script:
  - platformio ci --lib="." --board=uno --board=esp-wrover-kit