shithub: choc

Download patch

ref: 3ec49f4028e6b0c62cec13437323bd15257da041
parent: dbc0aaf109a24590c6b5c0762bf3da0a1ddc3926
author: Simon Howard <[email protected]>
date: Sun Jun 5 07:52:50 EDT 2016

Switch builds to use Trusty.

SDL2 packages are too new for Ubuntu Precise, which is from 2012.
Switch to the Trusty beta environment, as documented here:

https://docs.travis-ci.com/user/trusty-ci-environment/

--- a/.travis.yml
+++ b/.travis.yml
@@ -2,6 +2,11 @@
 
 compiler: gcc
 
+# Travis uses Ubuntu 12.04 (Precise) for builds by default, which is too
+# old and missing the SDL2 packages, so use Trusty instead.
+sudo: required
+dist: trusty
+
 # TODO: Remove old SDL library dependencies once sdl2-branch is merged.
 addons:
     apt: