mirror of
https://github.com/google/blockly.git
synced 2026-01-04 23:50:12 +01:00
26 lines
541 B
YAML
26 lines
541 B
YAML
language: node_js
|
|
os: linux
|
|
dist: xenial
|
|
node_js:
|
|
- 8
|
|
- 10
|
|
- 12
|
|
addons:
|
|
chrome: stable
|
|
firefox: latest
|
|
# TODO (#2114): re-enable osx build.
|
|
# - os: osx
|
|
# node_js: stable
|
|
# osx_image: xcode8.3
|
|
# addons:
|
|
# firefox: latest
|
|
env:
|
|
- TRAVIS_CI=true
|
|
before_script:
|
|
- export DISPLAY=:99.0
|
|
- if [ "${TRAVIS_OS_NAME}" == "linux" ]; then ( tests/scripts/setup_linux_env.sh ) fi
|
|
- if [ "${TRAVIS_OS_NAME}" == "osx" ]; then ( tests/scripts/setup_osx_env.sh ) fi
|
|
- sleep 2
|
|
script:
|
|
- npm run test:run
|