Skip to content

Commit c703ad7

Browse files
Cruz Monrreal IICruz Monrreal II
authored andcommitted
Removed status reporting.
Re-enabled in later commit.
1 parent d0f4dc4 commit c703ad7

File tree

1 file changed

+10
-35
lines changed

1 file changed

+10
-35
lines changed

.travis.yml

Lines changed: 10 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -18,26 +18,13 @@ language: sh
1818
os: linux
1919
dist: xenial
2020

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-
3321
cache:
3422
pip: true
3523
directories:
3624
- $HOME/.cache/apt
3725
- $HOME/gcc-arm-none-eabi-6-2017-q2-update
3826

3927
before_install:
40-
- bash -c "$STATUS" pending "Local $NAME testing is in progress"
4128
# Make sure pipefail
4229
- set -o pipefail
4330
# Setup apt to cache
@@ -52,12 +39,6 @@ before_install:
5239
# Loop until update succeeds (timeouts can occur)
5340
- travis_retry $(! sudo apt-get update 2>&1 |grep Failed)
5441

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-
6142
matrix:
6243
include:
6344
- env:
@@ -130,8 +111,6 @@ matrix:
130111
after_success:
131112
# Coverage for tools
132113
- coveralls
133-
# Report success since we have overridden default behavior
134-
- bash -c "$STATUS" success "Local $NAME testing has passed"
135114

136115
- env:
137116
- NAME=doxy-spellcheck
@@ -150,8 +129,6 @@ matrix:
150129
after_success:
151130
# Coverage for tools
152131
- coveralls
153-
# Report success since we have overridden default behavior
154-
- bash -c "$STATUS" success "Local $NAME testing has passed"
155132

156133
- <<: *tools-pytest
157134
env: NAME=tools-py3.5
@@ -221,12 +198,11 @@ matrix:
221198
| capture(\"runtime is (?<runtime>[0-9]+)\").runtime" \
222199
|| echo 0)
223200
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
230206
231207
- env:
232208
- NAME=littlefs
@@ -292,12 +268,11 @@ matrix:
292268
| capture(\"code size is (?<size>[0-9]+)\").size" \
293269
|| echo 0)
294270
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
301276
302277
- env:
303278
- NAME=gitattributestest

0 commit comments

Comments
 (0)