-
Notifications
You must be signed in to change notification settings - Fork 31
/
.travis.yml
57 lines (57 loc) · 1.92 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
language: cpp
compiler:
- gcc
os:
- linux
sudo: required
dist: bionic
env:
global:
- MAKETHREADS="-j2"
- MAIN_PACKAGES="build-essential libtool autotools-dev autoconf libssl-dev libboost-all-dev libcrypto++-dev libevent-dev"
- QT_PACKAGES="libqt5gui5 libqt5core5a libqt5dbus5 qttools5-dev qttools5-dev-tools libprotobuf-dev protobuf-compiler"
- GPU_PACKAGES="ocl-icd-opencl-dev"
- EXTRA_PPA="ppa:bitcoin/bitcoin"
- EXTRA_PPA_PACKAGES="libdb4.8-dev libdb4.8++-dev"
cache:
apt: true
addons:
apt:
packages:
- pkg-config
jobs:
include:
# Linux daemon and Qt wallet
- stage: build
name: 'Linux daemon and Qt wallet'
install:
- sudo apt-get install -y $MAIN_PACKAGES $QT_PACKAGES
- sudo add-apt-repository -y $EXTRA_PPA
- sudo apt-get update -y && sudo apt-get install -y $EXTRA_PPA_PACKAGES
script:
- ./autogen.sh
- ./configure --with-gui=qt5 --disable-tests --disable-bench
- make $MAKETHREADS
# Linux daemon only with GPU
- stage: build
name: 'Linux daemon only with GPU'
install:
- sudo apt-get install -y $MAIN_PACKAGES
- sudo add-apt-repository -y $EXTRA_PPA
- sudo apt-get update -y && sudo apt-get install -y $EXTRA_PPA_PACKAGES
- sudo apt-get install -y $GPU_PACKAGES
script:
- ./autogen.sh
- ./configure --without-gui --enable-gpu --disable-tests --disable-bench
- make $MAKETHREADS
# Linux daemon only with tests
- stage: build
name: 'Linux daemon only with tests'
install:
- sudo apt-get install -y $MAIN_PACKAGES
- sudo add-apt-repository -y $EXTRA_PPA
- sudo apt-get update -y && sudo apt-get install -y $EXTRA_PPA_PACKAGES
script:
- ./autogen.sh
- ./configure --without-gui
- make $MAKETHREADS