-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (36 loc) · 1.23 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
sudo: false
language: cpp
os:
- osx
env:
global:
- SDK_BUILD=258
matrix:
- SDK_VERSION=1.5.0
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- bsdtar
install:
- if [ "$TRAVIS_OS_NAME" == "osx" ]; then export SDK_FILE_NAME="esp-alt-sdk-v${SDK_VERSION}.${SDK_BUILD}-macos-x86_64.zip"; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then export SDK_FILE_NAME="esp-alt-sdk-v${SDK_VERSION}.${SDK_BUILD}-linux-x86_64.tar.gz"; fi
- mkdir -p $TRAVIS_BUILD_DIR/opt/esp-alt-sdk
- wget https://bintray.com/artifact/download/kireevco/generic/${SDK_FILE_NAME}
- bsdtar -xf ${SDK_FILE_NAME} -C $TRAVIS_BUILD_DIR/opt/esp-alt-sdk
script:
- git clone -b upstream_develop --single-branch https://github.com/johndoe8967/Sming.git
- git clone https://github.com/raburton/esptool2.git
- export SMING_HOME=$TRAVIS_BUILD_DIR/Sming/Sming
- export ESP_HOME=$TRAVIS_BUILD_DIR/opt/esp-alt-sdk
- export PATH=$PATH:$TRAVIS_BUILD_DIR/opt/esp-alt-sdk/utils/
- cd $SMING_HOME
- make all
- make spiffy
- cd $TRAVIS_BUILD_DIR/esptool2
- make all
- cp esptool2 $TRAVIS_BUILD_DIR/opt/esp-alt-sdk/utils/
- export ESPTOOL2=$TRAVIS_BUILD_DIR/opt/esp-alt-sdk/utils/esptool2
- cd $TRAVIS_BUILD_DIR
- make all