bbc / RadioVisDemo

RadioDNS and RadioVIS Slideshow Protocol Demo
https://www.bbc.co.uk/rd/projects/radiovis
Apache License 2.0
27 stars 12 forks source link

Enable Travis CI #6

Closed njh closed 5 years ago

njh commented 7 years ago

Something like this should work:

sudo: required

language: python

python:
  - "2.6"
  - "2.7"

install:
  - sudo apt-get update -qq
  - sudo apt-get install -y python-wxgtk3.0 python-dnspython python-nose

script:
  - export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  - nosetests

My only uncertainty is how the different versions of Python managed by Travis work with the Debian packages.

njh commented 5 years ago

Implemented in #13

I decided to install the dependencies using pip rather than apt, so that it is possible to support multiple different versions of python. Unfortunately it is very slow to install.

Note that Python 2.6 doesn't seem to be available for xenial

njh commented 5 years ago

Working: https://travis-ci.org/bbc/RadioVisDemo