Skip to content

Commit e89f985

Browse files
committed
Release strat
1 parent 2630206 commit e89f985

2 files changed

Lines changed: 22 additions & 64 deletions

File tree

.travis.yml

Lines changed: 21 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,64 +1,21 @@
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/en/stable/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/en/stable/ci/travis.html >
12-
#
13-
# * User Guide for `platformio ci` command
14-
# < http://docs.platformio.org/en/stable/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-
sudo: false
31-
cache:
32-
directories:
33-
- "~/.platformio"
34-
install:
35-
- pip install -U platformio
36-
- platformio platform install https://github.com/platformio/platform-espressif8266.git#feature/stage
37-
38-
script:
39-
- platformio run
40-
41-
42-
#
43-
# Template #2: The project is intended to by used as a library with examples
44-
#
45-
46-
# language: python
47-
# python:
48-
# - "2.7"
49-
#
50-
# sudo: false
51-
# cache:
52-
# directories:
53-
# - "~/.platformio"
54-
#
55-
# env:
56-
# - PLATFORMIO_CI_SRC=path/to/test/file.c
57-
# - PLATFORMIO_CI_SRC=examples/file.ino
58-
# - PLATFORMIO_CI_SRC=path/to/test/directory
59-
#
60-
# install:
61-
# - pip install -U platformio
62-
#
63-
# script:
64-
# - 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 platform install https://github.com/platformio/platform-espressif8266.git#feature/stage
11+
script:
12+
- platformio run
13+
deploy:
14+
skip_cleanup: true
15+
provider: releases
16+
api_key:
17+
secure: qgTcRCVBZ8EwzdAX2ywmj01fkUbTebM2iXMpn2GqhF3MFc7M3sPJPbIRM88AdK4Lg9I+GWBWaXr4Zr8UmEkoY1/eI6B1oftl80vBF+5j3Z/SB3dhLb6nMeK+FGHm9DakM0VSZo1Z+GWq1lkPf3DkKmxtJtunnF/UlbOk4OMbfxT5dpJwChUQzNiA4PNKD7xJ1Vou5R0DT9OJIYTp8GRkmSuRmiPwL36+2BVueoJuDVNoEhDOilN14xdt1/8LDZ/SiybKd8EZ14MT0S6/E3XZ0sDylmrYdpsrLRr/OFiucg6cS0e1GRiEYnEF/7gCe2+f0FYc6zpHxWB25kaQrIOsruW1ABUUTalOPekh5AZtXjhziyCbQYaGqp+oQkLuoetB0X3kn4QCy5ecUEbh1oqSAgxIwZ+ArV5O/jCOKAvvwYFWV7xezwktvHgqG0iuYoblp5zYFSFSC+iGeE0l4PAvYjVtoyZZMT4q+ckvQDFKGOjoj553/pTef4uTjhwc6ZQ2K9jDxII5JB4ub9mz6O5LyPgB6XbNyWibJdyg2oGlMlgXFVE39Z4k/SKWC0uJoUyLow8M4PyUEy5XNtcarbhwfslLfNkAjB1qqMnlu8H0oKXt/SGevRoJ46Iug4JceDF1vR/DXCfeKkQJmvc8A9guJhPw6xaLWRtLx202iTADl5k=
18+
file: ".pioenvs/nodemcuv2/firmware.bin"
19+
on:
20+
repo: thingsSDK/thingsSwitch
21+
tags: true

src/main.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ void wifiSetup()
8787
WiFiManagerParameter custom_device_name("device_name", "Device Name", device_name, 40);
8888
WiFiManagerParameter custom_pin("pin", "Pin", pin, 2);
8989
WiFiManager wifiManager;
90+
//wifiManager.resetSettings();
9091
wifiManager.setSaveConfigCallback(saveConfigCallback);
9192

9293
wifiManager.addParameter(&custom_device_name);

0 commit comments

Comments
 (0)