@@ -18,26 +18,13 @@ language: sh
18
18
os : linux
19
19
dist : xenial
20
20
21
- env :
22
- global :
23
- - >
24
- STATUS=$'curl -so/dev/null --user "$MBED_BOT" --request POST
25
- https://api.github.com/repos/$TRAVIS_REPO_SLUG/statuses/${TRAVIS_PULL_REQUEST_SHA:-$TRAVIS_COMMIT}
26
- --data @- << DATA\n{
27
- "state": "$0",
28
- "description": "$1",
29
- "context": "travis-ci/$NAME",
30
- "target_url": "https://travis-ci.org/$TRAVIS_REPO_SLUG/jobs/$TRAVIS_JOB_ID"
31
- }\nDATA'
32
-
33
21
cache :
34
22
pip : true
35
23
directories :
36
24
- $HOME/.cache/apt
37
25
- $HOME/gcc-arm-none-eabi-6-2017-q2-update
38
26
39
27
before_install :
40
- - bash -c "$STATUS" pending "Local $NAME testing is in progress"
41
28
# Make sure pipefail
42
29
- set -o pipefail
43
30
# Setup apt to cache
@@ -52,12 +39,6 @@ before_install:
52
39
# Loop until update succeeds (timeouts can occur)
53
40
- travis_retry $(! sudo apt-get update 2>&1 |grep Failed)
54
41
55
- after_success :
56
- - bash -c "$STATUS" success "Local $NAME testing has passed"
57
-
58
- after_failure :
59
- - bash -c "$STATUS" failure "Local $NAME testing has failed"
60
-
61
42
matrix :
62
43
include :
63
44
- env :
@@ -130,8 +111,6 @@ matrix:
130
111
after_success :
131
112
# Coverage for tools
132
113
- coveralls
133
- # Report success since we have overridden default behavior
134
- - bash -c "$STATUS" success "Local $NAME testing has passed"
135
114
136
115
- env :
137
116
- NAME=doxy-spellcheck
@@ -150,8 +129,6 @@ matrix:
150
129
after_success :
151
130
# Coverage for tools
152
131
- coveralls
153
- # Report success since we have overridden default behavior
154
- - bash -c "$STATUS" success "Local $NAME testing has passed"
155
132
156
133
- << : *tools-pytest
157
134
env : NAME=tools-py3.5
@@ -221,12 +198,11 @@ matrix:
221
198
| capture(\"runtime is (?<runtime>[0-9]+)\").runtime" \
222
199
|| echo 0)
223
200
224
- STATUSM="Passed, runtime is ${CURR} cycles"
225
- if [ "$PREV" -ne 0 ]
226
- then
227
- STATUSM="$STATUSM ($(python -c "print '%+d' % ($CURR-$PREV)") cycles)"
228
- fi
229
- - bash -c "$STATUS" success "$STATUSM"
201
+ #STATUSM="Passed, runtime is ${CURR} cycles"
202
+ #if [ "$PREV" -ne 0 ]
203
+ #then
204
+ # STATUSM="$STATUSM ($(python -c "print '%+d' % ($CURR-$PREV)") cycles)"
205
+ #fi
230
206
231
207
- env :
232
208
- NAME=littlefs
@@ -292,12 +268,11 @@ matrix:
292
268
| capture(\"code size is (?<size>[0-9]+)\").size" \
293
269
|| echo 0)
294
270
295
- STATUSM="Passed, code size is ${CURR}B"
296
- if [ "$PREV" -ne 0 ]
297
- then
298
- STATUSM="$STATUSM ($(python -c "print '%+.2f' % (100*($CURR-$PREV)/$PREV.0)")%)"
299
- fi
300
- - bash -c "$STATUS" success "$STATUSM"
271
+ #STATUSM="Passed, code size is ${CURR}B"
272
+ #if [ "$PREV" -ne 0 ]
273
+ #then
274
+ # STATUSM="$STATUSM ($(python -c "print '%+.2f' % (100*($CURR-$PREV)/$PREV.0)")%)"
275
+ #fi
301
276
302
277
- env :
303
278
- NAME=gitattributestest
0 commit comments