-
Notifications
You must be signed in to change notification settings - Fork 115
/
.travis.yml
48 lines (42 loc) · 1.25 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
# Need newer packages.
dist: trusty
language: python
python:
- "2.7"
addons:
apt:
sources:
# Need a newer gnuradio than Ubuntu Trusty has.
# These PPAs were recommended by the gqrx project's installation advice.
# http://gqrx.dk/download/install-ubuntu
- sourceline: 'ppa:bladerf/bladerf'
- sourceline: 'ppa:ettusresearch/uhd'
- sourceline: 'ppa:myriadrf/drivers'
- sourceline: 'ppa:myriadrf/gnuradio'
packages:
- gnuradio
# - gr-air-modes # Available version is too old.
- gr-osmosdr
- libhamlib-utils
before_install:
- npm install jshint
virtualenv:
# Make gnuradio Python bindings visible to the virtualenv.
system_site_packages: true
install:
- pip install ephem
- pip install flake8
# APT version is too old for us.
- pip install pylint
# APT version is too old for Twisted.
- pip install --upgrade pyopenssl
- pip install pyserial
- pip install twisted
- pip install txws
script:
# Also retrieves external dependencies
- python setup.py fetch_deps
# PATH in order to call jshint, which was installed non-globally above.
- PATH="node_modules/.bin/:$PATH" ./lint.sh
# PYTHONPATH as otherwise our own modules are not found.
- PYTHONPATH=. trial shinysdr