2019-05-20 18:09:49 +00:00
|
|
|
sudo: true
|
|
|
|
dist: trusty
|
|
|
|
|
2020-04-02 22:06:58 +00:00
|
|
|
language: node_js
|
|
|
|
node_js:
|
|
|
|
- "12"
|
|
|
|
|
2019-05-20 18:09:49 +00:00
|
|
|
services:
|
|
|
|
- docker
|
|
|
|
|
|
|
|
before_install:
|
2020-04-02 22:06:58 +00:00
|
|
|
# If ever run on windows make sure you don't run this in the git bash!
|
|
|
|
- docker run -dit --name emscripten -v "$(pwd)":"/src/" trzeci/emscripten:sdk-incoming-64bit bash
|
2019-05-20 18:09:49 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
include:
|
|
|
|
- stage: "build"
|
|
|
|
name: TeaWeb build master branch
|
|
|
|
script:
|
2020-04-02 22:06:58 +00:00
|
|
|
- "./scripts/travis.sh --enable-release --enable-debug || travis_terminate 1;"
|
2020-04-02 22:08:03 +00:00
|
|
|
- "./scripts/travis_deploy.sh || travis_terminate 1;"
|
2019-05-20 18:09:49 +00:00
|
|
|
if: branch = master
|