forked from EasyRPG/Player
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
23 lines (23 loc) · 837 Bytes
/
.travis.yml
File metadata and controls
23 lines (23 loc) · 837 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
language: cpp
compiler:
- clang
before_script:
- sudo add-apt-repository ppa:zoogie/sdl2-snapshots -y
- sudo add-apt-repository -y ppa:ondrej/php5
- sudo apt-get update -qq
- sudo apt-get install -qq libexpat1-dev libicu-dev libboost1.48-dev libsdl2-dev libsdl2-mixer-dev libpixman-1-dev
- git clone --branch dummy "https://github.com/take-cheeze/RTP.git" $RPG_RTP_PATH
- CXX="$CXX $WORKAROUND_CXX_FLAGS" cmake -D CMAKE_BUILD_TYPE=$CMAKE_BUILD_TYPE .
script:
- make -j2
- make test
after_script:
- cat lib/TestGame/TestGame-2000/easyrpg_log.txt
- cat Testing/Temporary/LastTest.log
env:
global:
- WORKAROUND_CXX_FLAGS="-DBOOST_NO_CXX11_SMART_PTR -DBOOST_NO_CXX11_HDR_ARRAY -DBOOST_NO_RTTI -DBOOST_NO_TYPEID"
- RPG_RTP_PATH="./lib/RTP"
matrix:
- CMAKE_BUILD_TYPE=DEBUG
- CMAKE_BUILD_TYPE=RELEASE