2015-09-03 11:14:52 +02:00
|
|
|
language: c
|
|
|
|
|
2016-01-21 19:35:41 +01:00
|
|
|
sudo: required
|
2016-06-08 03:05:19 +02:00
|
|
|
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- os: linux
|
|
|
|
dist: trusty
|
|
|
|
- os: osx
|
|
|
|
osx_image: xcode7.3
|
|
|
|
- os: osx
|
|
|
|
osx_image: xcode7.1
|
|
|
|
- os: osx
|
|
|
|
osx_image: beta-xcode6.2
|
2016-01-21 19:35:41 +01:00
|
|
|
|
2015-09-03 11:14:52 +02:00
|
|
|
before_install:
|
2015-09-03 05:41:00 +02:00
|
|
|
- if [ `uname` = "Linux" ]; then
|
|
|
|
sudo apt-get update -qq;
|
2019-03-04 16:43:45 +01:00
|
|
|
sudo apt-get install -y build-essential debhelper librtlsdr-dev libusb-1.0-0-dev pkg-config fakeroot libbladerf-dev dh-systemd;
|
2015-09-03 05:41:00 +02:00
|
|
|
elif [ `uname` = "Darwin" ]; then
|
|
|
|
brew update;
|
|
|
|
brew install -v librtlsdr;
|
|
|
|
fi
|
2015-09-03 11:14:52 +02:00
|
|
|
|
|
|
|
script:
|
2015-09-03 05:41:00 +02:00
|
|
|
- if [ `uname` = "Linux" ]; then
|
|
|
|
dpkg-buildpackage -b -us -uc;
|
|
|
|
elif [ `uname` = "Darwin" ]; then
|
|
|
|
make;
|
|
|
|
make test;
|
2016-01-21 19:35:41 +01:00
|
|
|
fi
|