travis: remove downstream trigger (refs #3366)
(cherry picked from commit a6057af11f
)
This commit is contained in:
parent
fe96110e1d
commit
fc7e2e1e3a
2 changed files with 0 additions and 22 deletions
|
@ -37,7 +37,6 @@ matrix:
|
|||
CC="clang-3.9"
|
||||
LINKFLAGS="-fuse-ld=gold-2.26"
|
||||
ENABLE_GLIBC_WORKAROUND=true
|
||||
TRIGGER=true
|
||||
addons:
|
||||
postgresql: "9.4"
|
||||
apt:
|
||||
|
@ -107,6 +106,3 @@ script:
|
|||
- test_ok && enabled ${COVERAGE} coverage
|
||||
- test_ok && enabled ${BENCH} make bench
|
||||
- ./scripts/check_glibcxx.sh
|
||||
|
||||
after_success:
|
||||
- enabled ${TRIGGER} trigger_downstream
|
||||
|
|
|
@ -100,21 +100,3 @@ coverage () {
|
|||
-g "./test/**" \
|
||||
-x "${LLVM_COV:-llvm-cov} gcov >/dev/null 2>&1"
|
||||
}
|
||||
|
||||
trigger_downstream() {
|
||||
body="{
|
||||
\"request\": {
|
||||
\"message\": \"Triggered build: Mapnik core commit ${TRAVIS_COMMIT}\",
|
||||
\"branch\":\"master\"
|
||||
}
|
||||
}
|
||||
"
|
||||
|
||||
curl -s -X POST \
|
||||
-H "Content-Type: application/json" \
|
||||
-H "Accept: application/json" \
|
||||
-H "Travis-API-Version: 3" \
|
||||
-H "Authorization: token ${TRAVIS_TRIGGER_TOKEN}" \
|
||||
-d "$body" \
|
||||
https://api.travis-ci.org/repo/mapnik%2Fpython-mapnik/requests
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue