1
1
Fork 0
mirror of https://github.com/oxen-io/lokinet synced 2023-12-14 06:53:00 +01:00
lokinet/.travis.yml

63 lines
1.1 KiB
YAML
Raw Normal View History

2019-07-13 16:14:22 +02:00
language: cpp
2019-07-14 13:09:04 +02:00
os:
- linux
- osx
2019-07-14 13:44:01 +02:00
osx_image: - xcode10.2
2019-07-13 16:14:22 +02:00
dist: xenial
compiler:
- clang
- gcc
2019-05-29 06:43:15 +02:00
env:
2019-07-13 22:36:10 +02:00
global:
- BUILD_TYPE=Release
2019-07-14 13:09:04 +02:00
- NINJA=ninja
2019-07-13 22:36:10 +02:00
matrix:
- STATIC_LINK=OFF
2019-07-14 13:09:04 +02:00
- STATIC_LINK=OFF SHARED_LIB=ON
- STATIC_LINK=ON
- STATIC_LINK=ON SHARED_LIB=ON
2019-07-13 16:14:22 +02:00
addons:
apt:
packages:
- build-essential
- cmake
- curl
- git
- libcap-dev
- libuv1-dev
- ninja-build
2019-07-14 13:09:04 +02:00
homebrew:
packages:
- cmake
- libuv
- ninja
2019-07-13 16:14:22 +02:00
2019-05-29 06:43:15 +02:00
script:
2019-07-13 16:14:22 +02:00
- make test
2019-05-29 06:43:15 +02:00
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
after_failure:
- wget https://raw.githubusercontent.com/DiscordHooks/travis-ci-discord-webhook/master/send.sh
- chmod +x send.sh
- ./send.sh failure $WEBHOOK_URL
2019-05-29 09:01:37 +02:00
notifications:
irc:
on_success: change
on_failure: change
channels:
- "chat.freenode.net#llarp"
nick: lokinet-ci
template:
- "%{result} | %{repository}#%{build_number} (%{commit} : %{author}) | Build details : %{build_url}"