2019-11-23 20:27:39 +08:00
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
# linux
|
2020-02-07 16:41:34 +08:00
|
|
|
#- os: linux
|
|
|
|
# dist: xenial
|
|
|
|
# env:
|
|
|
|
# - BUILD_TARGET=linux
|
|
|
|
# - GEN_BINDING_AND_COCOSFILE=true
|
|
|
|
# sudo: required
|
|
|
|
# language: cpp
|
2019-11-23 20:27:39 +08:00
|
|
|
# mac_cmake
|
2020-02-07 16:41:34 +08:00
|
|
|
# - os: osx
|
|
|
|
# env: BUILD_TARGET=mac_cmake
|
|
|
|
# language: cpp
|
|
|
|
# osx_image: xcode10.3
|
|
|
|
# sudo: required
|
2019-11-23 20:27:39 +08:00
|
|
|
# iOS_cmake
|
|
|
|
- os: osx
|
|
|
|
env: BUILD_TARGET=ios_cmake
|
|
|
|
language: cpp
|
|
|
|
osx_image: xcode11
|
|
|
|
sudo: required
|
|
|
|
# android cmake
|
|
|
|
- os: linux
|
|
|
|
env: BUILD_TARGET=android_cmake
|
|
|
|
language: android
|
|
|
|
sudo: required
|
|
|
|
dist: xenial
|
|
|
|
# android_lua cmake
|
2020-02-07 16:41:34 +08:00
|
|
|
#- os: linux
|
|
|
|
# env: BUILD_TARGET=android_lua_cmake
|
2019-11-23 20:27:39 +08:00
|
|
|
language: android
|
|
|
|
sudo: required
|
|
|
|
dist: xenial
|
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
packages:
|
|
|
|
- g++-6
|
|
|
|
# android_js cmake
|
|
|
|
# - os: linux
|
|
|
|
# env: BUILD_TARGET=android_js_cmake
|
|
|
|
# language: android
|
|
|
|
# sudo: required
|
2020-02-07 16:41:34 +08:00
|
|
|
#- os: linux
|
|
|
|
# env: BUILD_TARGET=android_cocos_new_test
|
|
|
|
# language: android
|
|
|
|
# sudo: required
|
|
|
|
# dist: xenial
|
|
|
|
#- os: linux
|
|
|
|
# dist: xenial
|
|
|
|
# env: BUILD_TARGET=linux_cocos_new_test
|
|
|
|
# language: cpp
|
|
|
|
# sudo: required
|
|
|
|
#- os: osx
|
|
|
|
# env: BUILD_TARGET=ios_cocos_new_lua_test
|
|
|
|
# language: cpp
|
|
|
|
# osx_image: xcode11
|
|
|
|
# sudo: required
|
|
|
|
#- os: osx
|
|
|
|
# env: BUILD_TARGET=ios_cocos_new_cpp_test
|
|
|
|
# language: cpp
|
|
|
|
# osx_image: xcode11
|
|
|
|
# sudo: required
|
2019-11-23 20:27:39 +08:00
|
|
|
|
|
|
|
script:
|
|
|
|
- tools/travis-scripts/run-script.sh
|
|
|
|
before_install:
|
|
|
|
- tools/travis-scripts/before-install.sh
|
|
|
|
|
|
|
|
jdk:
|
|
|
|
- oraclejdk8
|
|
|
|
|
|
|
|
cache:
|
|
|
|
bundler: true
|
|
|
|
|
|
|
|
notifications:
|
|
|
|
email: false
|
|
|
|
|
|
|
|
# blocklist
|
|
|
|
branches:
|
|
|
|
except:
|
2019-11-25 20:26:43 +08:00
|
|
|
- v4
|