forked from SmingHub/Sming
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
29 lines (29 loc) · 911 Bytes
/
.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
sudo: false
language: cpp
os:
- linux
- osx
env:
global:
- SDK_BUILD=258
matrix:
- SDK_VERSION=1.4.0
- 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:
- export SMING_HOME=$TRAVIS_BUILD_DIR/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 test