language: rust
rust:
  - stable
  - beta
  - nightly
matrix:
  allow_failures:
    - rust: nightly

language: rust
rust:
  - stable
  - beta
  - nightly
before_install:
  - wget https://www.libsdl.org/release/SDL2-2.0.5.tar.gz -O SDL2-2.0.5.tar.gz
  - tar -xzvf SDL2-2.0.5.tar.gz
install:
  - (cd SDL2-2.0.5 && ./configure && make && sudo make install)
matrix:
  allow_failures:
    - rust: nightly

Make Travis CI install SDL2 before testing
Make Travis CI install SDL2 before testing
