diff --git a/.travis.yml b/.travis.yml
index 049d465a14dfea559211730c2756435ea0ee0d58..d70e1dc9ac7ec556e297ec3b50247bd40907bb6e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,10 +1,10 @@
 language: c
+sudo: required
 
 matrix:
   include:
     - os: linux
       dist: trusty
-      sudo: required
     - os: osx
 
 env:
@@ -39,6 +39,6 @@ before_script:
 
 before_install:
   - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi
-  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install sdl2_mixer libsdl game-music-emu p7zip ; fi
+  - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install sdl2_mixer libpng game-music-emu p7zip ; fi
 
 script: make