foxygit / doom Log in
commit 3ec49f4028e6b0c62cec13437323bd15257da041
Author:     Simon Howard <fraggle@soulsphere.org>
AuthorDate: Sun Jun 5 11:52:50 2016 -0400
Commit:     Simon Howard <fraggle@soulsphere.org>
CommitDate: Sun Jun 5 11:52:50 2016 -0400

    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/
---
 .travis.yml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/.travis.yml b/.travis.yml
index 27a2c765..83e44dc8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,6 +2,11 @@ language: c

 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: