Fix Travis build

By setting dist explicitly to trusty, which has cmake >= 2.8.12 in their
official package repository and installing newly non-default packages
explicitly.

Closes #1015.
This commit is contained in:
Jonathan Hale 2017-05-16 16:22:24 +02:00 committed by Camilla Löwy
parent fa0b5e1b85
commit e4e3e50867

View File

@ -8,12 +8,17 @@ os:
- linux
- osx
sudo: false
dist: trusty
addons:
apt:
sources:
- kubuntu-backports
packages:
- cmake
- libxrandr-dev
- libxinerama-dev
- libxcursor-dev
- libxi-dev
env:
- BUILD_SHARED_LIBS=ON
- BUILD_SHARED_LIBS=OFF