.travis.yml 896 B

12345678910111213141516171819202122232425262728
  1. language: cpp
  2. compiler: gcc
  3. before_install:
  4. # GCC 4.9 needed for more complete c++11 support
  5. - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
  6. - sudo add-apt-repository ppa:zoogie/sdl2-snapshots -y
  7. - sudo apt-get update -qq
  8. install:
  9. # GCC
  10. - sudo apt-get install -y g++-4.9
  11. - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.9 50
  12. # SDL
  13. - sudo apt-get install -y libsdl2 libsdl2-dev
  14. # FFmpeg
  15. - sudo apt-get install -y yasm
  16. - mkdir tmp && pushd tmp
  17. - wget http://ffmpeg.org/releases/ffmpeg-snapshot.tar.bz2
  18. - tar xvf ffmpeg-snapshot.tar.bz2
  19. - cd ffmpeg
  20. - ./configure --prefix=/usr --enable-shared --disable-static
  21. --disable-programs --disable-doc --disable-avdevice --disable-postproc
  22. --disable-avfilter
  23. - make
  24. - sudo make install
  25. - make distclean
  26. - popd && rm -rf tmp
  27. script: make