2020-09-04 17:19:51 +08:00
|
|
|
language: cpp
|
2020-09-08 09:52:17 +08:00
|
|
|
jobs:
|
2019-11-23 20:27:39 +08:00
|
|
|
include:
|
|
|
|
# mac_cmake
|
2020-09-04 17:19:51 +08:00
|
|
|
- os: osx
|
|
|
|
env: BUILD_TARGET=mac_cmake
|
2020-09-06 17:01:21 +08:00
|
|
|
osx_image: xcode11.6
|
2019-11-23 20:27:39 +08:00
|
|
|
# iOS_cmake
|
|
|
|
- os: osx
|
|
|
|
env: BUILD_TARGET=ios_cmake
|
2020-09-06 17:01:21 +08:00
|
|
|
osx_image: xcode11.6
|
2019-11-23 20:27:39 +08:00
|
|
|
# android cmake
|
|
|
|
- os: linux
|
|
|
|
env: BUILD_TARGET=android_cmake
|
2020-09-08 09:52:17 +08:00
|
|
|
language: android
|
2019-11-23 20:27:39 +08:00
|
|
|
# android_lua cmake
|
2020-02-12 16:58:47 +08:00
|
|
|
#- os: linux
|
|
|
|
# env: BUILD_TARGET=android_lua_cmake
|
2020-09-08 07:54:39 +08:00
|
|
|
# addons:
|
|
|
|
# apt:
|
|
|
|
# sources:
|
|
|
|
# - ubuntu-toolchain-r-test
|
|
|
|
# packages:
|
|
|
|
# - g++-6
|
2020-02-12 16:58:47 +08:00
|
|
|
#- os: linux
|
|
|
|
# env: BUILD_TARGET=android_cocos_new_test
|
|
|
|
#- os: linux
|
|
|
|
# env: BUILD_TARGET=linux_cocos_new_test
|
|
|
|
#- os: osx
|
|
|
|
# env: BUILD_TARGET=ios_cocos_new_lua_test
|
|
|
|
# osx_image: xcode11
|
|
|
|
#- os: osx
|
|
|
|
# env: BUILD_TARGET=ios_cocos_new_cpp_test
|
|
|
|
# osx_image: xcode11
|
2019-11-23 20:27:39 +08:00
|
|
|
|
|
|
|
script:
|
2020-09-11 19:33:42 +08:00
|
|
|
- while sleep 9m; do echo "=====[ Build is still running after $SECONDS seconds ]====="; done &
|
|
|
|
- tools/travis-scripts/run-script.sh
|
|
|
|
- kill %1
|
2019-11-23 20:27:39 +08:00
|
|
|
before_install:
|
2020-09-11 19:33:42 +08:00
|
|
|
- tools/travis-scripts/before-install.sh
|
2019-11-23 20:27:39 +08:00
|
|
|
|
|
|
|
jdk:
|
|
|
|
- oraclejdk8
|
|
|
|
|
|
|
|
cache:
|
|
|
|
bundler: true
|
|
|
|
|
|
|
|
notifications:
|
|
|
|
email: false
|
|
|
|
|
|
|
|
# blocklist
|
|
|
|
branches:
|
|
|
|
except:
|
2019-11-25 20:26:43 +08:00
|
|
|
- v4
|