mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 06:33:16 +00:00
6055a67cb8
Now it test 6 builds: * Ubuntu 14.04 - x11 (g++) * Ubuntu 14.04 - x11 (clang++) * Ubuntu 14.04 - windows (via MinGW) * OS X - osx (g++) * OS X - osx (clang++) * OS X - android * OS X - iphone Instead of just g++ on Ubuntu 12.04...
49 lines
1.4 KiB
YAML
49 lines
1.4 KiB
YAML
language: cpp
|
|
|
|
sudo: required
|
|
dist: trusty
|
|
|
|
compiler:
|
|
- gcc
|
|
- clang
|
|
|
|
os:
|
|
- linux
|
|
- osx
|
|
|
|
env:
|
|
- GODOT_TARGET=iphone
|
|
- GODOT_TARGET=osx
|
|
- GODOT_TARGET=x11
|
|
- GODOT_TARGET=android
|
|
- GODOT_TARGET=windows
|
|
|
|
matrix:
|
|
exclude:
|
|
- os: linux
|
|
env: GODOT_TARGET=iphone
|
|
- os: linux
|
|
env: GODOT_TARGET=osx
|
|
- os: linux
|
|
env: GODOT_TARGET=android
|
|
- os: osx
|
|
env: GODOT_TARGET=x11
|
|
- os: osx
|
|
env: GODOT_TARGET=windows
|
|
- compiler: gcc
|
|
env: GODOT_TARGET=iphone
|
|
- compiler: clang
|
|
env: GODOT_TARGET=android
|
|
- compiler: clang
|
|
env: GODOT_TARGET=windows
|
|
|
|
|
|
before_script:
|
|
- if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get update -qq; sudo apt-get install -y scons pkg-config libx11-dev libxcursor-dev build-essential libasound2-dev libfreetype6-dev libgl1-mesa-dev libglu-dev libssl-dev libxinerama-dev libevdev-dev libudev-dev; fi
|
|
- if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$GODOT_TARGET" = "windows" ]; then sudo apt-get update -qq; sudo apt-get install -y mingw32 mingw-w64; fi
|
|
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then brew update; brew install scons; fi
|
|
- if [ "$TRAVIS_OS_NAME" = "osx" ] && [ "$GODOT_TARGET" = "android" ]; then brew update; brew install android-sdk android-ndk; export ANDROID_HOME=/usr/local/opt/android-sdk; export ANDROID_NDK_ROOT=/usr/local/opt/android-ndk; fi
|
|
|
|
script:
|
|
- scons platform=$GODOT_TARGET CXX=$CXX
|