forked from shadow-robot/build-servers-check
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
19 lines (14 loc) · 782 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
sudo: required
language: cpp
services:
- docker
env:
global:
- toolset_branch: master
- server_type: travis
- used_modules: check_cache,check_build,code_style_check,check_deb_make,codecov_tool
- remote_shell_script: 'https://raw.githubusercontent.com/shadow-robot/sr-build-tools/$toolset_branch/bin/sr-run-ci-build.sh'
script:
- curl -s "$( echo "$remote_shell_script" | sed 's/#/%23/g' )" | bash -x /dev/stdin "$toolset_branch" $server_type $used_modules
after_failure:
- curl -X POST --data-urlencode "payload={\"channel\":\"#bots\", \"username\":\"travis\", \"text\":\"[$TRAVIS_REPO_SLUG branch $TRAVIS_BRANCH] <https://travis-ci.org/$TRAVIS_REPO_SLUG/builds/|Build $TRAVIS_BUILD_NUMBER> failed\", \"icon_emoji\":\":squirrel:\"}" $SLACK_WEB_HOOK_URL