-
Notifications
You must be signed in to change notification settings - Fork 228
/
.travis.yml
33 lines (30 loc) · 1.13 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
language: cpp
matrix:
fast_finish: true
env:
matrix:
#- GEN_BINDING=YES
#- GEN_COCOS_FILES=YES
# - PLATFORM=mac-ios PUSH_TO_MAC=YES
# - PLATFORM=linux DEBUG=1 CC_COMPILER=gcc CXX_COMPILER=g++ C2DX_VER=3.3
- PLATFORM=linux DEBUG=1 CC_COMPILER=gcc CXX_COMPILER=g++ C2DX_VER=3.2
# Disable clang build on linux temporarily since we're using "-stdlib=libc++ " which wasn't installed on travis machine.
# - PLATFORM=linux DEBUG=1 CC_COMPILER=clang CXX_COMPILER=clang++
# Since switching to C++11 only the ARM version of the nactive client
# port currently builds. TODO(sbc): Re-enable all architectures.
# Disabled travis-ci build for native client port since it doesn't support std::thread, std::mutex.
# - PLATFORM=nacl DEBUG=1 NACL_ARCH=arm
# - PLATFORM=android CC_COMPILER=gcc CXX_COMPILER=g++ C2DX_VER=3.3
- PLATFORM=android CC_COMPILER=gcc CXX_COMPILER=g++ C2DX_VER=3.2
# - PLATFORM=emscripten DEBUG=1
script:
- export CC=$CC_COMPILER
- export CXX=$CXX_COMPILER
- travis-scripts/run-script.sh
before_install:
- chmod -R +x travis-scripts
- travis-scripts/before-install.sh
# whitelist
branches:
only:
- refactoring