Skip to content

Commit e6d5c63

Browse files
committed
travis
1 parent 89284d2 commit e6d5c63

File tree

1 file changed

+28
-67
lines changed

1 file changed

+28
-67
lines changed

.travis.yml

Lines changed: 28 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -1,67 +1,28 @@
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 < https://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-
# < https://docs.platformio.org/page/ci/travis.html >
12-
#
13-
# * User Guide for `platformio ci` command
14-
# < https://docs.platformio.org/page/userguide/cmd_ci.html >
15-
#
16-
#
17-
# Please choose 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-
# - platformio update
39-
#
40-
# script:
41-
# - platformio run
42-
43-
44-
#
45-
# Template #2: The project is intended to be used as a library with examples.
46-
#
47-
48-
# language: python
49-
# python:
50-
# - "2.7"
51-
#
52-
# sudo: false
53-
# cache:
54-
# directories:
55-
# - "~/.platformio"
56-
#
57-
# env:
58-
# - PLATFORMIO_CI_SRC=path/to/test/file.c
59-
# - PLATFORMIO_CI_SRC=examples/file.ino
60-
# - PLATFORMIO_CI_SRC=path/to/test/directory
61-
#
62-
# install:
63-
# - pip install -U platformio
64-
# - platformio update
65-
#
66-
# script:
67-
# - platformio ci --lib="." --board=ID_1 --board=ID_2 --board=ID_N
1+
language: python
2+
python:
3+
- '2.7'
4+
sudo: false
5+
cache:
6+
directories:
7+
- "~/.platformio"
8+
install:
9+
- pip install -U platformio
10+
- platformio update
11+
script:
12+
- mkdir build
13+
- platformio ci --keep-build-dir --build-dir ./build --project-conf=platformio.ini
14+
src/main.cpp
15+
before_deploy:
16+
- platformio ci -h
17+
- ls -a
18+
- find . -name "*.bin"
19+
deploy:
20+
provider: releases
21+
api_key:
22+
secure: FNZS+KTgsSo6QAZgncYmZLNHfuqCnD2yRQkjj4GYl5M1vNGTSncmZMTVoH3oFHmpsNG3wZ0G/c8yT48Fxhn1T/aGSAXxlffeJ36XN+5gSrPFk+dkHdV26X9tpCglUTkOMydtlJCQQJBd0km0XlniFKV0guDezWADvwERegHXf/CaiZY/YccorfHbJxDF9e765aYVY+bvkixOoC9iXMYBdbYTACqFPddr5x2LfdRNDMLlP29XYO/5909e9xU3fy06LgisYHQgYpTfAyASYqmxL0Qhugd2Z71VY098NRDfdA1agmnKM9nhjwYG791eqmKVSVZ4UUe7dCjHe9czd0tHMGiP8nz+bxCKNIZsDm/drHwP6FPx0eHyKb8eY3czvRT6onrBdzJHUtCl55NbUgk3W/ijj9U1BlzyA3uSIavNAXsK4R8Tf24G4qXtcq6MJos/STh2viBxHGvboTfAqxy3F/pVwNmgupW4GIZYds0/OZ302xSpUtFO37IR9SaAaMb0/O/3Td768DkuesaWymU7Gv1NDkMMYX3lttGLIOTz/qyXp8FAn5zvDyMhJDkb3xyJ45yQajp+LRwxxZ7bQmmoAzIO18Tst/GWDe8NxpeQCA3eKmLGvjunV+WfIto5O6cSfMjZKtI15WTbh25IXWEIABjD2BMiOoCt7oh6mXIGACM=
23+
file:
24+
- "build/.pio/build/d1/firmware.bin"
25+
skip_cleanup: true
26+
on:
27+
repo: IoTDevice/esp8266-switch
28+
tags: true

0 commit comments

Comments
 (0)