forked from WLANThermo-nano/WLANThermo_ESP82XX_Software
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
111 lines (94 loc) · 3.43 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
# 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).
#
#
# Template #1: General project. Test it using existing `platformio.ini`.
#
language: python
python:
- "2.7"
sudo: false
cache:
directories:
- "~/.platformio"
git:
depth: 3
env:
global:
secure: "fifO3U7nuz0Gdu1H7YVeQTQolum8vBxr0bXKohhA9vO0c08o9cq+aQ/G/Y9s3X8ofBxSpu+si4IQHwtcphgTpiDqlnFFIZUz9UjL+UuAAxTamSkRJVNzXhDirfjh37Wd09oI8taMq3paCPvOCyhiXFOcvSm4/cpFohNbI1Um9Mcwgmcn3S3oLkz8YC1HJuz2sP80FAQwMjlBdrcITf3L0/WvQkmeMWHRS1qcodUm8VH/okLXKWOB9KDQ/ceo41UwWf2JmkOf3LxS3kiLpJiYd/7RnZ3pgCCLJLz61AjWuAhqZUAEzjI7ZSkt4E/BPYn03/CHBW8U6JVpVJVDH8CRJyRvtIM2GJrNsDelpB+nV2Pa6lpVjeFKNrYa4B3VpI/HLDXgNuOyDOwN7f4afABCiYM9QOWmpB0EO09SVz71rEGzATmCznbd7KDmibMLDtL5/Gw9xw6BOUgM3pMqDVrUjjolhi024H4h6lHTFVK/jg2VX7eKyQSw8WjaE0uHaMWIvQUu0aWQAsRmELMTWbuu7E3TcG3qR+CLZJIH44z4WmByT68MzvBZv65row+QOsQ26A4Ld2hPTrnmb15klEDNbH2E2iAAMwidiY4OEx4lXh/Vd/OdCku6fri96RkDEWbPvYfestpdFnr85wLr2Cf/ytVVuhscbnYOF1HurptbeN8="
jobs:
include:
- name: build
stage: build
if: tag IS blank
install:
- pip install -U platformio
- platformio update
before_script:
- gzip ./data_source/data/index.html
- mv ./data_source/data/index.html.gz ./data/index.html.gz
- mv ./data_source/data/nano.ttf ./data/nano.ttf
script:
- platformio run && platformio run --target buildfs
- name: beta_build
stage: build
if: branch =~ (beta).*v[0-9]\..*
install:
- pip install -U platformio
- platformio update
before_script:
- gzip ./data_source/data/index.html
- mv ./data_source/data/index.html.gz ./data/index.html.gz
- mv ./data_source/data/nano.ttf ./data/nano.ttf
script:
- platformio run && platformio run --target buildfs
deploy:
provider: releases
file:
-./.pioenvs/esp8285/firmware.bin
-./.pioenvs/esp8285/spiffs.bin
skip_cleanup: true
prerelease: true
api_key: 279f537f5e201f3ccbabe1c1e621bdbd2921549a
on:
all_branches: true
#
# Template #2: The project is intended to be used as a library with examples.
#
# language: python
# python:
# - "2.7"
#
# sudo: false
# cache:
# directories:
# - "~/.platformio"
#
# env:
# - PLATFORMIO_CI_SRC=path/to/test/file.c
# - PLATFORMIO_CI_SRC=examples/file.ino
# - PLATFORMIO_CI_SRC=path/to/test/directory
#
# install:
# - pip install -U platformio
# - platformio update
#
# script:
# - platformio ci --lib="." --board=ID_1 --board=ID_2 --board=ID_N