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 - linux
- osx - osx
sudo: false sudo: false
dist: trusty
addons: addons:
apt: apt:
sources: sources:
- kubuntu-backports - kubuntu-backports
packages: packages:
- cmake - cmake
- libxrandr-dev
- libxinerama-dev
- libxcursor-dev
- libxi-dev
env: env:
- BUILD_SHARED_LIBS=ON - BUILD_SHARED_LIBS=ON
- BUILD_SHARED_LIBS=OFF - BUILD_SHARED_LIBS=OFF