message: Test on Mac on Travis
diff: @@ -4,15 +4,25 @@ rust:
  - stable
  - beta
  - nightly
  +os:
  + - linux
  + - osx
  # matrix:
  # allow_failures:
  # - rust: nightly
  before_install:
  - - sudo apt-get -qq update
  - - sudo apt-get install -y libasound2-dev
  + - if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
  + sudo apt-get -qq update
  + && sudo apt-get install -y libasound2-dev;
  + fi
  install:
  - - wget http://libsdl.org/release/SDL2-2.0.5.tar.gz
  - - tar -xzvf SDL2-2.0.5.tar.gz
  - - pushd SDL2-2.0.5 && ./configure --prefix=/usr && make && sudo make install && popd
  + - if [ "${TRAVIS_OS_NAME}" = "linux" ]; then
  + wget http://libsdl.org/release/SDL2-2.0.5.tar.gz
  + && tar -xzvf SDL2-2.0.5.tar.gz
  + && pushd SDL2-2.0.5 && ./configure --prefix=/usr && make && sudo make install && popd;
  + fi
  + - if [ "${TRAVIS_OS_NAME}" = "osx" ]; then
  + brew install sdl2;
  + fi
  