forked from peercoin/peercoin
-
Notifications
You must be signed in to change notification settings - Fork 13
/
.travis.yml
59 lines (53 loc) · 1.46 KB
/
.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
language: cpp
compiler: gcc
os: linux
sudo: required
dist: trusty
env:
- QT_BASE=55
branches:
only:
- master
- develop
addons:
apt:
packages:
- build-essential
- libboost-all-dev
- libdb++-dev
- libminiupnpc-dev
- libqrencode-dev
- libprotobuf-dev
- libssl-dev
- libgmp3-dev
before_install:
- sudo add-apt-repository --yes ppa:beineri/opt-qt551-trusty
- sudo apt-get update -qq
install:
- sudo apt-get -y install qt55base qt55tools
- cd src
script:
- make -f makefile.unix -j 5 slimcoind
- make -f makefile.unix test_slimcoin
- ./test_slimcoin -r short
- cd ..
- source /opt/qt55/bin/qt55-env.sh
- /opt/qt55/bin/qmake RELEASE=1 USE_QRCODE=1 FIRST_CLASS_MESSAGING=1 USE_UPNPC=1 USE_OLDC=1
- CXXFLAGS="-std=c++0x" make -j 5
notifications:
irc:
channels:
- "chat.freenode.net#slimcoin"
template:
- "%{repository}/%{branch} (%{commit} - %{author}): %{message}"
- "Alt Message : %{repository_slug} - (%{commit} - %{author}): %{message}, Build Time: %{duration}"
- "Change view : %{compare_url}"
- "Build details : %{build_url}"
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