-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy path.travis.yml
36 lines (34 loc) · 1.29 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
language: python
python:
- '2.7'
sudo: false
cache:
directories:
- ~/.platformio
addons:
apt:
packages:
- tree
env:
matrix:
- PLATFORMIO_CI_SRC="$TRAVIS_BUILD_DIR/examples/ESPmanager-example/ESPmanager-example.ino"
- PLATFORMIO_CI_SRC="$TRAVIS_BUILD_DIR/examples/ESPmanager-example/ESPmanager-example.ino" PLATFORMIO_BUILD_FLAGS="-D Debug_ESPManager=Serial"
# Handle git submodules yourself
# git:
# submodules: false
# # Use sed to replace the SSH URL with the public URL, then initialize submodules
# before_install:
# - sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules
# # - git submodule update --init --recursive
# - git submodule sync
install:
- pip install -U platformio
- platformio platform install https://github.com/platformio/platform-espressif8266.git#feature/stage
# finsih sdk updates
- cd $TRAVIS_BUILD_DIR
# - echo "10606" > ~/.platformio/packages/framework-arduinoespressif/version.txt
- mkdir /tmp/build
- platformio lib -g install "https://github.com/me-no-dev/ESPAsyncTCP" "https://github.com/me-no-dev/ESPAsyncWebServer" "ArduinoJson"
script:
- platformio ci --project-option="platform=https://github.com/platformio/platform-espressif8266.git#feature/stage" --board="esp12e" --build-dir="/tmp/build"
--lib="$TRAVIS_BUILD_DIR"