openspades/.travis.yml

32 lines
866 B
YAML
Raw Normal View History

2014-03-11 15:46:52 +09:00
language: cpp
dist: trusty
2014-03-11 15:46:52 +09:00
compiler:
2016-11-19 23:29:08 +09:00
- gcc-4.9
# - clang
cache: apt
before_install:
2014-03-11 17:02:33 +09:00
- sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
- sudo add-apt-repository --yes ppa:zoogie/sdl2-snapshots
- sudo apt-get update
2016-11-19 23:29:08 +09:00
- if [ "$CC" == "gcc" ]; then export APT_INSTALL_GPP=g++-4.9; fi
2014-04-27 14:15:31 +11:00
install:
2016-12-18 01:42:52 +09:00
- sudo apt-get install pkg-config libglew-dev libcurl3-openssl-dev libjpeg-dev libxinerama-dev libxft-dev libsdl2-dev libsdl2-image-dev libfreetype6-dev libopus-dev libopusfile-dev $APT_INSTALL_GPP
2014-04-27 14:15:31 +11:00
before_script:
2014-03-11 17:29:21 +09:00
# Travis defaults to plain gcc if unknown
# http://github.com/travis-ci/travis-ci/issues/979
2016-11-19 23:29:08 +09:00
- if [ "$CC" == "gcc" ]; then export CC=gcc-4.9; fi
- if [ "$CXX" == "g++" ]; then export CXX=g++-4.9; fi
2014-03-11 15:46:52 +09:00
2014-04-27 14:15:31 +11:00
- mkdir openspades.mk
- cd openspades.mk
2014-03-11 15:46:52 +09:00
script:
2014-04-27 14:15:31 +11:00
- cmake -DOPENSPADES_RESOURCES=off ..
- cat CMakeCache.txt
2017-01-30 01:22:27 +09:00
- make -k