forked from SmingHub/Sming
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
80 lines (71 loc) · 2.01 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
language: cpp
env:
global:
- SDK_BUILD=258
- secure: D/cPk+sL2MNHLtfuU/rMiVN63+CTFpo9Chqa39LEH5VloGqC5f7RyIi2Maa3C/U2JQfM01HlsNR7E5bB0W8DQYbtzBDTqbZ4C7ppZRU5jCQ+L51ERKJ0EAV3KkaravQCRbWt3tlgOp6Xk6xaRMBaHEGrdbFjHYgEMPVteUQNr0A=
- secure: "pc8Yqwmn6AM+iBjLNNnknmOoi+AxoyvcVy128b2WXSdj6Q4bOIXgj4WUg8I52i1fgyh0Rxg19WUB6qSVyykCXVdSRajIU1MsKZI+0q44Q83wnwVeYm7nPWxDqS3FKMajucZCg4p0BTE4T6tpnm7zZNHduHnggua/NpP2h7B/Sqs="
jobs:
include:
- stage: test
os: linux
dist: xenial
addons:
apt:
packages:
- clang-format-6.0
- gcc-multilib
- g++-multilib
- doxygen
- python3-sphinx
- python3-pip
- python3-setuptools
- graphviz-dev
env: SMING_ARCH=Host
- stage: build
os: linux
env: SMING_ARCH=Esp8266 SDK_VERSION=1.5.0
- stage: build
os: linux
env: SMING_ARCH=Esp8266 SDK_VERSION=2.0.0
- stage: build
os: linux
env: SMING_ARCH=Esp8266 SDK_VERSION=3.0.1
git:
submodules: false
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- sourceline: ppa:libreoffice/libreoffice-4-2
- llvm-toolchain-trusty-6.0
packages:
- bsdtar
- doxygen
- doxygen-doc
- doxygen-latex
- doxygen-gui
- graphviz
- xmlstarlet
coverity_scan:
project:
name: "SmingHub/Sming"
description: "Sming Framework"
notification_email: slaff@attachix.com
build_command_prepend: "export SMING_HOME=$TRAVIS_BUILD_DIR/Sming; cd $SMING_HOME"
build_command: "make Basic_DateTime Basic_Delegates Basic_Interrupts Basic_ProgMem Basic_Serial Basic_Servo Basic_Ssl HttpServer_FirmwareUpload SMING_ARCH=Host DEBUG_VERBOSE_LEVEL=3"
branch_pattern: ci/coverity-scan
install: .travis/install.sh
script: .travis/build.sh
deploy:
provider: script
script: .travis/deploy.sh $TRAVIS_TAG
skip_cleanup: true
on:
tags: true
condition: "$SDK_VERSION==2.0.0"
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/c1a5e8bc97d3794a0417
on_success: always
on_failure: always