-
Notifications
You must be signed in to change notification settings - Fork 63
/
.travis.yml
76 lines (59 loc) · 1.79 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
language: python
python: 3.7
sudo: required
env:
global:
- >
STATUS=$'curl -so/dev/null --user "$EMBARC_BOT" --request POST
https://api.github.com/repos/$TRAVIS_REPO_SLUG/statuses/${TRAVIS_PULL_REQUEST_SHA:-$TRAVIS_COMMIT}
--data @- << DATA\n{
"state": "$0",
"description": "$1",
"context": "travis-ci/$NAME",
"target_url": "https://travis-ci.org/$TRAVIS_REPO_SLUG/jobs/$TRAVIS_JOB_ID"
}\nDATA'
- TOOLCHAIN_VER="2020.09"
- OSP_ROOT="."
- EXAMPLES="example/baremetal,example/freertos"
cache:
pip: true
directories:
- .cache/result
- .cache/toolchain
branches:
except:
- gh-pages
before_install:
# setup git config
- git config --global user.name "embARC Automated Bot"
- git config --global user.email "[email protected]"
- bash ./scripts/.ci/before_install.sh
after_success:
- bash -c "$STATUS" success "Local $NAME testing has passed"
after_failure:
- bash -c "$STATUS" failure "Local $NAME testing has failed"
script:
- bash ./scripts/.ci/script.sh
matrix:
include:
- env: NAME="emsk-11-gnu-2020.09" TOOLCHAIN="gnu" BOARD="emsk" BD_VER="11"
os: linux
compiler: gcc
- env: NAME="emsk-22-gnu-2020.09" TOOLCHAIN="gnu" BOARD="emsk" BD_VER="22"
os: linux
compiler: gcc
- env: NAME="emsk-23-gnu-2020.09" TOOLCHAIN="gnu" BOARD="emsk" BD_VER="23"
os: linux
compiler: gcc
- env: NAME="hsdk-gnu-2020.09" TOOLCHAIN="gnu" BOARD="hsdk"
os: linux
compiler: gcc
- env: NAME="iotdk-gnu-2020.09" TOOLCHAIN="gnu" BOARD="iotdk"
os: linux
compiler: gcc
- env: NAME="nsim-gnu-2020.09" TOOLCHAIN="gnu" BOARD="nsim"
os: linux
compiler: gcc
- env: NAME="emsdp-gnu-2020.09" TOOLCHAIN="gnu" BOARD="emsdp"
os: linux
compiler: gcc