-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
152 lines (152 loc) · 3.68 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
language: cpp
dist: trusty
sudo: false
branches:
only:
- master
cache:
ccache: true
directories:
- depends/built
- depends/sdk-sources
- "$HOME/.ccache"
addons:
apt:
sources:
- ppa:bitcoin/bitcoin
packages:
- autoconf
- autotools-dev
- binutils
- bsdmainutils
- build-essential
- cmake
- curl
- libboost-all-dev
- libbz2-dev
- libcap-dev
- libdb4.8-dev
- libdb4.8++-dev
- libevent-dev
- libssl-dev
- libtool
- linux-libc-dev
- miniupnpc
- pkg-config
- python-dev
- python-setuptools
- python3
- python3-zmq
- zlib1g-dev
env:
global:
- ITTRIUM_VERSION=2.0.0.0
- CCACHE_COMPRESS=1
- CCACHE_SIZE=500M
- CCACHE_TEMPDIR=/tmp/.ccache-temp
- MAKEJOBS="-s -j 2"
matrix:
include:
- name: Linux ARM 32 Bit
addons:
apt:
packages:
- g++-arm-linux-gnueabihf
- binutils-arm-linux-gnueabihf
env:
- ITTRIUM_CONFIG="--enable-glibc-back-compat --with-gui=no"
- HOST=arm-linux-gnueabihf
- LABEL=ARM
os: linux
- name: Linux i686 32 Bit
addons:
apt:
packages:
- bc
- g++-multilib
- libprotobuf-dev
- libqrencode-dev
- python3-zmq
- qtdeclarative5-dev
env:
- ITTRIUM_CONFIG="--enable-zmq --enable-glibc-back-compat LDFLAGS=-static-libstdc++
--with-gui=qt5"
- HOST=i686-pc-linux-gnu
- LABEL=linux32
- PYZMQ=true
os: linux
- name: Linux x86 64 Bit
addons:
apt:
packages:
- bc
- libprotobuf-dev
- libqrencode-dev
- python3-zmq
- qtdeclarative5-dev
env:
- ITTRIUM_CONFIG="--enable-zmq --enable-glibc-back-compat LDFLAGS=-static-libstdc++
--with-gui=qt5"
- CPPFLAGS="-DDEBUG_LOCKORDER -DENABLE_DASH_DEBUG"
- HOST=x86_64-pc-linux-gnu
- LABEL=linux64
- PYZMQ=true
os: linux
- name: Windows i686 32 Bit
addons:
apt:
packages:
- g++-mingw-w64-i686 bc
- libprotobuf-dev
- libqrencode-dev
- linux-libc-dev:i386
- nsis
- python3
- qtdeclarative5-dev
env:
- ITTRIUM_CONFIG="--with-gui=qt5"
- HOST=i686-w64-mingw32
- LABEL=win32
os: linux
- name: Windows x86 64 Bit
addons:
apt:
packages:
- bc
- g++-mingw-w64-x86-64
- libprotobuf-dev
- libqrencode-dev
- linux-libc-dev:i386
- nsis
- python3
- qtdeclarative5-dev
env:
- ITTRIUM_CONFIG="--with-gui=qt5"
- HOST=x86_64-w64-mingw32
- LABEL=win64
os: linux
- name: macOS x86 64 Bit
env:
- HOST=x86_64-apple-darwin
- LABEL=macOS
os: osx
osx_image: xcode9.2
before_install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update; fi
install:
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew uninstall mercurial python; brew
bundle; brew link --overwrite --force boost@1.57; fi
- if [ "$PYZMQ" = "true" ]; then pip install pyzmq --user ; fi
before_script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then unset CC CXX DISPLAY; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export LDFLAGS=-L/usr/local/opt/openssl/lib;
export CPPFLAGS=-I/usr/local/opt/openssl/include; fi
- GLOBAL_CONFIG="--enable-reduce-exports --enable-tests --prefix=$TRAVIS_BUILD_DIR/depends/$HOST"
script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then make $MAKEJOBS -C depends HOST="$HOST";
depends/$HOST/native/bin/ccache --max-size=$CCACHE_SIZE; sh ./autogen.sh; ./configure
--cache-file=config.cache $GLOBAL_CONFIG $ITTRIUM_CONFIG; make; fi
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then sh ./autogen.sh; ./configure --enable-reduce-exports;
make deploy; fi
before_deploy:
- true