Add Javascript to CI (export template, release).
This commit is contained in:
parent
aa8c825855
commit
0f78113529
15
.travis.yml
15
.travis.yml
|
@ -117,6 +117,16 @@ matrix:
|
|||
packages:
|
||||
- *linux_deps
|
||||
|
||||
- name: Javascript export template (release, emscripten latest)
|
||||
stage: build
|
||||
env: PLATFORM=javascript TOOLS=no TARGET=release CACHE_NAME=${PLATFORM}-emcc-latest EXTRA_ARGS="module_glslang_enabled=no"
|
||||
os: linux
|
||||
compiler: clang
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- *linux_deps
|
||||
|
||||
before_install:
|
||||
- eval "${MATRIX_EVAL}"
|
||||
- if [ "$STATIC_CHECKS" = "yes" ]; then
|
||||
|
@ -135,6 +145,11 @@ install:
|
|||
java -version;
|
||||
misc/travis/android-tools-linux.sh;
|
||||
fi
|
||||
- if [ "$PLATFORM" = "javascript" ]; then
|
||||
git clone --depth 1 "https://github.com/emscripten-core/emsdk.git";
|
||||
./emsdk/emsdk install latest;
|
||||
./emsdk/emsdk activate latest;
|
||||
fi
|
||||
|
||||
before_script:
|
||||
- if [ "$PLATFORM" = "android" ]; then
|
||||
|
|
Loading…
Reference in New Issue