Skip to content

Commit f1f16e5

Browse files
committed
travis: add MBED BOT to the astyle job
1 parent a24cecf commit f1f16e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,10 @@ matrix:
132132
# update status if we succeeded, compare with master if possible
133133
- |
134134
CURR=$(cat astyle-branch.out | grep Formatted | wc -l)
135-
PREV=$(curl https://api.github.com/repos/$TRAVIS_REPO_SLUG/status/master \
135+
PREV=$(curl -u "$MBED_BOT" https://api.github.com/repos/$TRAVIS_REPO_SLUG/status/master \
136136
| jq -re "select(.sha != \"$TRAVIS_COMMIT\")
137137
| .statuses[] | select(.context == \"travis-ci/$NAME\").description
138-
| capture(\", (?<files>[0-9]+) files\").warnings" \
138+
| capture(\", (?<files>[0-9]+) files\").files" \
139139
|| echo 0)
140140
141141
STATUSM="Passed, ${CURR} files"

0 commit comments

Comments
 (0)