travis: remove downstream trigger (refs #3366)

(cherry picked from commit a6057af11f)
This commit is contained in:
Mickey Rose 2018-08-26 21:41:05 +02:00
parent fe96110e1d
commit fc7e2e1e3a
2 changed files with 0 additions and 22 deletions

View file

@ -37,7 +37,6 @@ matrix:
CC="clang-3.9" CC="clang-3.9"
LINKFLAGS="-fuse-ld=gold-2.26" LINKFLAGS="-fuse-ld=gold-2.26"
ENABLE_GLIBC_WORKAROUND=true ENABLE_GLIBC_WORKAROUND=true
TRIGGER=true
addons: addons:
postgresql: "9.4" postgresql: "9.4"
apt: apt:
@ -107,6 +106,3 @@ script:
- test_ok && enabled ${COVERAGE} coverage - test_ok && enabled ${COVERAGE} coverage
- test_ok && enabled ${BENCH} make bench - test_ok && enabled ${BENCH} make bench
- ./scripts/check_glibcxx.sh - ./scripts/check_glibcxx.sh
after_success:
- enabled ${TRIGGER} trigger_downstream

View file

@ -100,21 +100,3 @@ coverage () {
-g "./test/**" \ -g "./test/**" \
-x "${LLVM_COV:-llvm-cov} gcov >/dev/null 2>&1" -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
}