mirror of
https://github.com/libSDL2pp/libSDL2pp.git
synced 2025-09-14 09:46:29 -04:00
Add c++1y test to travis
This commit is contained in:
parent
74bff27f86
commit
f31497f9a7
@ -2,10 +2,17 @@ language: cpp
|
|||||||
compiler:
|
compiler:
|
||||||
- gcc
|
- gcc
|
||||||
- clang
|
- clang
|
||||||
|
env:
|
||||||
|
- SDL2PP_CSTD=c++11
|
||||||
|
- SDL2PP_CSTD=c++1y
|
||||||
before_install:
|
before_install:
|
||||||
- sudo add-apt-repository --yes ppa:zoogie/sdl2-snapshots
|
- sudo add-apt-repository --yes ppa:zoogie/sdl2-snapshots
|
||||||
- sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
|
- sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
|
||||||
- sudo apt-get update -qq
|
- sudo apt-get update -qq
|
||||||
- sudo apt-get install -qq cmake libsdl2-dev libsdl2-image-dev g++-4.8
|
- sudo apt-get install -qq cmake libsdl2-dev libsdl2-image-dev g++-4.8
|
||||||
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
|
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
|
||||||
script: cmake . -DSDL2PP_ENABLE_GUI_TEST=OFF -DCMAKE_INSTALL_PREFIX=`pwd`/_prefix -DSDL2PP_WITH_WERROR=YES && make && make test && make install
|
script:
|
||||||
|
- cmake . -DSDL2PP_ENABLE_GUI_TEST=OFF -DCMAKE_INSTALL_PREFIX=`pwd`/_prefix -DSDL2PP_WITH_WERROR=YES -DSDL2PP_CSTD=$SDL2PP_CSTD
|
||||||
|
- make
|
||||||
|
- make test
|
||||||
|
- make install
|
||||||
|
Loading…
x
Reference in New Issue
Block a user