forked from dreamland-mud/dreamland_code
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
40 lines (31 loc) · 1003 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
language: cpp
dist: focal
addons:
apt:
update: true
sources: [ ubuntu-toolchain-r-test ]
packages:
- libfl-dev
- libcrypto++-dev
- libjsoncpp-dev
- libdb5.3
- libdb5.3-dev
- libdb5.3++
- libdb5.3++-dev
- db-util
- g++-9
env:
- CXX=g++-9
cache: ccache
before_script:
- ccache -M 2G # default ccache limit of 500Mb is not enough for our cache of 800Mb
script:
- bash $TRAVIS_BUILD_DIR/admin/travis/verify_build.sh travis_script
after_success:
- "[[ $TRAVIS_TEST_RESULT = 0 ]] && wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh && chmod +x send.sh && ./send.sh success $WEBHOOK_URL"
after_failure:
- "[[ $TRAVIS_TEST_RESULT = 1 ]] && wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh && chmod +x send.sh && ./send.sh failure $WEBHOOK_URL"
notifications:
email:
recipients:
- dreamland.mud@gmail.com