Set up Travis continuous integration testing.

Code nicked from
http://www.tomaz.me/2013/12/02/running-travis-ci-tests-on-arm.html