language: rust
before_install:
    - sudo apt-get update -qq
    - sudo apt-get install -qq libsdl2-dev

language: rust
before_install:
    - sudo apt-get install build-essential xorg-dev libudev-dev libts-dev libgl1-mesa-dev libglu1-mesa-dev libasound2-dev libpulse-dev libopenal-dev libogg-dev libvorbis-dev libaudiofile-dev libpng12-dev libfreetype6-dev libusb-dev libdbus-1-dev zlib1g-dev libdirectfb-dev
    - wget http://www.libsdl.org/release/SDL2-2.0.3.tar.gz
    - tar -xvzf SDL2-2.0.3.tar.gz
    - cd SDL2-2.0.3/ && ./configure && make && sudo make install && sudo ldconfig

Install SDL2 from source for Travis CI
Install SDL2 from source for Travis CI

The Travis CI boxes run Ubuntu 12.04 LTS which does not have
'libsdl2-dev' in its packages.
