Introduce a couple more builds, fixup notifications maybe

pull/708/head
Michael 5 years ago
parent 82958de2d7
commit 67f71c074b
No known key found for this signature in database
GPG Key ID: 2D51757B47E2434C

@ -1,19 +1,13 @@
language: cpp
os: windows
# - linux
# - osx
# - windows
cache: ccache
dist: xenial
matrix:
include:
- os: linux
dist: xenial
compiler: gcc
env: BUILD_TYPE=Debug
env: BUILD_TYPE=Debug IS_NOTIFICATION=1
- os: linux
dist: xenial
compiler: gcc
@ -36,12 +30,16 @@ matrix:
env: BUILD_TYPE=Release
- os: osx
osx_image: xcode10.2
compiler: clang
env: BUILD_TYPE=Debug
env: BUILD_TYPE=Debug PATH="/usr/local/opt/ccache/libexec:$PATH"
- os: osx
osx_image: xcode10.2
compiler: clang
env: BUILD_TYPE=Release
env: BUILD_TYPE=Release PATH="/usr/local/opt/ccache/libexec:$PATH"
- os: osx
osx_image: xcode11
env: BUILD_TYPE=Release PATH="/usr/local/opt/ccache/libexec:$PATH"
- os: osx
osx_image: xcode10.2
env: BUILD_TYPE=Release PATH="/usr/local/opt/ccache/libexec:$PATH" CC=/usr/local/opt/llvm/bin/clang CXX=/usr/local/opt/llvm/bin/clang++
- os: windows
env: BUILD_TYPE=Debug
- os: windows
@ -68,6 +66,7 @@ addons:
- ccache
- cmake
- libuv
- llvm
- ninja
- make
@ -89,14 +88,17 @@ script:
after_script:
- echo $TRAVIS_COMMIT_RANGE
- echo $TRAVIS_COMMIT_LOG
after_success:
- wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh
- chmod +x send.sh
- ./send.sh success $WEBHOOK_URL
- if [[ -z $IS_NOTIFICATION ]]; then ./send.sh success $WEBHOOK_URL; fi
after_failure:
- wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh
- chmod +x send.sh
- ./send.sh failure $WEBHOOK_URL
- if [[ -z $IS_NOTIFICATION ]]; then ./send.sh failure $WEBHOOK_URL; fi
notifications:
irc:
on_success: change

Loading…
Cancel
Save