forked from merbanan/rtl_433
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
268 lines (260 loc) · 7.37 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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
language: c
os: linux
# we need more depth for git describe
git:
depth: false
matrix:
include:
- name: "Visual Studio 2017 CMake (MSBuild)"
os: windows
env:
- MSBUILD_PATH="c:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin"
script:
- export PATH=$MSBUILD_PATH:$PATH
- mkdir build
- cd build
- cmake -DENABLE_RTLSDR=OFF -G "Visual Studio 15 2017 Win64" ..
- MSBuild.exe rtl433.sln
# - name: "Visual Studio 2017 (MSBuild), disabled because it assumes RTLSDR"
# os: windows
# env:
# - MSBUILD_PATH="c:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin"
# script:
# - export PATH=$MSBUILD_PATH:$PATH
# - cd vs15
# - MSBuild.exe rtl_433.sln
- name: "Precise default (GCC 4.6.3, CMake 2.8.7) and no libs"
compiler: gcc
env: RTLSDR=OFF
dist: precise
addons:
apt:
packages:
- cmake
- name: "Trusty default (GCC 4.8.2, CMake 2.8.12)"
compiler: gcc
dist: trusty
addons:
apt:
packages:
- libusb-1.0.0-dev
- rtl-sdr
- librtlsdr-dev
- cmake
- name: "Xenial default (GCC 5.4.0, CMake 3.5.1)"
compiler: gcc
dist: xenial
addons:
apt:
packages:
- libusb-1.0.0-dev
- rtl-sdr
- librtlsdr-dev
- cmake
- name: "Precise Clang (clang 3.4, CMake 2.8.7) and no libs"
compiler: clang
env: RTLSDR=OFF
dist: precise
addons:
apt:
packages:
- cmake
- name: "Trusty Clang (clang 5.0.0, CMake 2.8.12)"
compiler: clang
dist: trusty
addons:
apt:
packages:
- libusb-1.0.0-dev
- rtl-sdr
- librtlsdr-dev
- cmake
- name: "Xenial Clang (clang 7.0.0, CMake 3.5.1)"
compiler: clang
dist: xenial
addons:
apt:
packages:
- libusb-1.0.0-dev
- rtl-sdr
- librtlsdr-dev
- cmake
- name: "Precise or Trusty (GCC 6.5.0)"
compiler: gcc-6
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-6
- libusb-1.0.0-dev
- rtl-sdr
- librtlsdr-dev
- cmake
- name: "Precise or Trusty (GCC 7.4.0)"
compiler: gcc-7
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-7
- libusb-1.0.0-dev
- rtl-sdr
- librtlsdr-dev
- cmake
- name: "Precise or Trusty (GCC 8.1.0)"
compiler: gcc-8
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- gcc-8
- libusb-1.0.0-dev
- rtl-sdr
- librtlsdr-dev
- cmake
- name: "ARM64 Xenial default (GCC 5.4.0, CMake 3.5.1)"
compiler: gcc
arch: arm64
dist: xenial
addons:
apt:
packages:
- libusb-1.0.0-dev
- rtl-sdr
- librtlsdr-dev
- cmake
- name: "ARM64 Xenial Clang (clang 7.0.0, CMake 3.5.1)"
compiler: clang
arch: arm64
dist: xenial
addons:
apt:
packages:
- libusb-1.0.0-dev
- rtl-sdr
- librtlsdr-dev
- cmake
- name: "ARM32 Xenial default (GCC 5.4.0, CMake 3.5.1)"
compiler: gcc
arch: arm64
dist: xenial
env:
- RTLSDR=OFF
- CC=arm-linux-gnueabihf-gcc
- SETARCH="setarch linux32 --verbose --32bit"
addons:
apt:
packages:
- crossbuild-essential-armhf
- libc6-armhf-cross
- cmake
- name: "i686 Xenial default (GCC 5.4.0, CMake 3.5.1)"
compiler: gcc
dist: xenial
env:
- RTLSDR=OFF
- CFLAGS="-m32"
- SETARCH="setarch i686 --verbose --3gb"
addons:
apt:
packages:
- gcc-multilib
- cmake
- name: "Xenial default (gcc 5.4, cmake 3.12) RTL-SDR and SoapySDR"
compiler: gcc
env: SOAPYSDR=ON
dist: xenial
addons:
apt:
sources:
- sourceline: 'ppa:myriadrf/drivers'
packages:
- libusb-1.0.0-dev
- rtl-sdr
- librtlsdr-dev
- soapysdr
- libsoapysdr-dev
- cmake
- name: "Xenial default (gcc 5.4, cmake 3.12) only SoapySDR"
compiler: gcc
env: RTLSDR=OFF SOAPYSDR=ON
dist: xenial
addons:
apt:
sources:
- sourceline: 'ppa:myriadrf/drivers'
packages:
- soapysdr
- libsoapysdr-dev
- cmake
- name: "CLang 3.8.0, CMake 2.8.12"
compiler: clang-3.8
dist: trusty
addons:
apt:
sources:
- llvm-toolchain-precise-3.8
- ubuntu-toolchain-r-test
- trusty
packages:
- clang-3.8
- libusb-1.0.0-dev
- rtl-sdr
- librtlsdr-dev
- cmake
- name: "Deploy mingw 32 bit"
compiler: i686-w64-mingw32-gcc
env: RTLSDR=OFF CMAKE_TOOLCHAIN_FILE=cmake/Toolchain-gcc-mingw-w64-i686.cmake
dist: trusty
addons:
apt:
packages:
- gcc-mingw-w64-base
- binutils-mingw-w64-i686
- gcc-mingw-w64-i686
- mingw-w64-i686-dev
- gcc-mingw-w64
- gcc-multilib
- name: "Deploy mingw 64 bit"
compiler: x86_64-w64-mingw32-gcc
env: RTLSDR=OFF CMAKE_TOOLCHAIN_FILE=cmake/Toolchain-gcc-mingw-w64-x86-64.cmake
dist: trusty
addons:
apt:
packages:
- gcc-mingw-w64-base
- binutils-mingw-w64-x86-64
- gcc-mingw-w64-x86-64
- mingw-w64-x86-64-dev
- gcc-mingw-w64
- p7zip-full
- realpath
before_deploy: ./do_sysroot.sh
deploy:
provider: bintray
file: "build/bintray.json"
user: "chzu"
key:
secure: Ynhd9UIByGUQPYA3Ow1Jap1bMxB0Pyw+pQV9iQJoG2yCW//ubJ+UnHfYb3KfIWrEK7VVP52m7Mwk9+PrYBmrkNbc3IYc2rYGdbHgC82SRiPbOIxPUwz2X81j1AQZZhN2nc95yudsajpoSqQ7AkIyMyt5FN3NSNN44tKYD5YjuNUaYa2b6SEWNFyG7MHxCqqyykNIraxPS5I5ZOmN4t+ugpgcKd8gLCd4TJQ0355WfHhr1oTrJvgvxGirXOsUm3lC0lequ+BEVHjOjeKl8vybwiculLTIn2rgc9ysoca8sa60+W5ArTo56rPbODQTqZ7sEWSKhE48dJx36JGlM7zLrMLTzcP6tyhpJ2qwG0KQWJkAdCtkSTlOc5+nTojsS6eG8aN3/D/PuxRvjZO3zSwt9OsL2BPWo0DnZ2ZluMN0wzGTJeN/+B4f7rmX0rX9yLrxRMWftr69rmf4dS/ymtK8Yy9QLqgV3SKoIkhMy4e8ksBDnJ227+EwrLktRKaTt04Vg51Ip2mIlCJT9gR93NlsUgMtwCfexAgbIFrPykycwt+Ra6gADMrfZz2sHmphS6+WwsIgCljm9eHSYzU66lLwb1AAI4tuSNlPDAKUBzwNRfE2OArnGvLhn9pSUQ9zpyXgDpmBuj4hI9kfZArLBQBRCGP7gZM2lHh6nmWXDm6y4Ak=
skip_cleanup: true # to upload artifacts created during the build
#on:
# branch: master
# condition: "-n $BINTRAY_DEPLOY"
- name: "Full test suite"
language: python
compiler: gcc
env: RTLSDR=OFF RUN_RTL_433_TESTS=1
dist: trusty
python:
- "3.6"
install:
- pip install deepdiff==3.3.0
addons:
apt:
packages:
- cmake
script:
- ./do_build.sh