2015-09-18 23:00:39 +08:00
|
|
|
sudo: true
|
2016-11-07 08:42:30 +08:00
|
|
|
|
2016-11-28 00:56:14 +08:00
|
|
|
language: java
|
2016-11-28 01:13:36 +08:00
|
|
|
|
2017-10-29 04:13:43 +08:00
|
|
|
before_cache:
|
|
|
|
- rm -rf $HOME/.m2/repository/org/antlr
|
2017-10-13 00:46:38 +08:00
|
|
|
cache:
|
2017-10-27 03:12:21 +08:00
|
|
|
timeout: 600
|
2017-10-13 00:46:38 +08:00
|
|
|
directories:
|
|
|
|
- $HOME/.m2
|
2017-10-27 03:12:21 +08:00
|
|
|
- $HOME/Library/Caches/Antlr4
|
2017-10-13 00:46:38 +08:00
|
|
|
- $HOME/Library/Caches/Homebrew
|
|
|
|
|
2017-10-13 12:46:20 +08:00
|
|
|
stages:
|
|
|
|
- smoke-test
|
|
|
|
- main-test
|
|
|
|
- extended-test
|
|
|
|
|
2016-11-07 08:42:30 +08:00
|
|
|
matrix:
|
2016-11-28 02:22:18 +08:00
|
|
|
include:
|
2020-10-04 10:09:24 +08:00
|
|
|
# - os: linux
|
|
|
|
# dist: trusty
|
|
|
|
# compiler: clang
|
|
|
|
# jdk: openjdk8
|
|
|
|
# env:
|
|
|
|
# - TARGET=cpp
|
|
|
|
# - CXX=g++-5
|
|
|
|
# - GROUP=LEXER
|
|
|
|
# stage: main-test
|
|
|
|
# addons:
|
|
|
|
# apt:
|
|
|
|
# sources:
|
|
|
|
# - ubuntu-toolchain-r-test
|
|
|
|
# - llvm-toolchain-precise-3.7
|
|
|
|
# packages:
|
|
|
|
# - g++-5
|
|
|
|
# - uuid-dev
|
|
|
|
# - clang-3.7
|
|
|
|
# - os: linux
|
|
|
|
# dist: trusty
|
|
|
|
# compiler: clang
|
|
|
|
# jdk: openjdk8
|
|
|
|
# env:
|
|
|
|
# - TARGET=cpp
|
|
|
|
# - CXX=g++-5
|
|
|
|
# - GROUP=PARSER
|
|
|
|
# stage: main-test
|
|
|
|
# addons:
|
|
|
|
# apt:
|
|
|
|
# sources:
|
|
|
|
# - ubuntu-toolchain-r-test
|
|
|
|
# - llvm-toolchain-precise-3.7
|
|
|
|
# packages:
|
|
|
|
# - g++-5
|
|
|
|
# - uuid-dev
|
|
|
|
# - clang-3.7
|
|
|
|
# - os: linux
|
|
|
|
# dist: trusty
|
|
|
|
# compiler: clang
|
|
|
|
# jdk: openjdk8
|
|
|
|
# env:
|
|
|
|
# - TARGET=cpp
|
|
|
|
# - CXX=g++-5
|
|
|
|
# - GROUP=RECURSION
|
|
|
|
# stage: main-test
|
|
|
|
# addons:
|
|
|
|
# apt:
|
|
|
|
# sources:
|
|
|
|
# - ubuntu-toolchain-r-test
|
|
|
|
# - llvm-toolchain-precise-3.7
|
|
|
|
# packages:
|
|
|
|
# - g++-5
|
|
|
|
# - uuid-dev
|
|
|
|
# - clang-3.7
|
|
|
|
# - os: osx
|
|
|
|
# compiler: clang
|
|
|
|
# osx_image: xcode10.2
|
|
|
|
# env:
|
|
|
|
# - TARGET=cpp
|
|
|
|
# - GROUP=LEXER
|
|
|
|
# stage: extended-test
|
|
|
|
# - os: osx
|
|
|
|
# compiler: clang
|
|
|
|
# osx_image: xcode10.2
|
|
|
|
# env:
|
|
|
|
# - TARGET=cpp
|
|
|
|
# - GROUP=PARSER
|
|
|
|
# stage: extended-test
|
|
|
|
# - os: osx
|
|
|
|
# compiler: clang
|
|
|
|
# osx_image: xcode10.2
|
|
|
|
# env:
|
|
|
|
# - TARGET=cpp
|
|
|
|
# - GROUP=RECURSION
|
|
|
|
# stage: extended-test
|
|
|
|
# - os: osx
|
|
|
|
# compiler: clang
|
|
|
|
# osx_image: xcode10.2
|
|
|
|
# env:
|
|
|
|
# - TARGET=swift
|
|
|
|
# - GROUP=LEXER
|
|
|
|
# stage: main-test
|
|
|
|
# - os: osx
|
|
|
|
# compiler: clang
|
|
|
|
# osx_image: xcode10.2
|
|
|
|
# env:
|
|
|
|
# - TARGET=swift
|
|
|
|
# - GROUP=PARSER
|
|
|
|
# stage: main-test
|
|
|
|
# - os: osx
|
|
|
|
# compiler: clang
|
|
|
|
# osx_image: xcode10.2
|
|
|
|
# env:
|
|
|
|
# - TARGET=swift
|
|
|
|
# - GROUP=RECURSION
|
|
|
|
# stage: main-test
|
|
|
|
# - os: linux
|
|
|
|
# dist: xenial
|
|
|
|
# compiler: clang
|
|
|
|
# env:
|
|
|
|
# - TARGET=swift
|
|
|
|
# - GROUP=ALL
|
|
|
|
# stage: extended-test
|
|
|
|
# - os: osx
|
|
|
|
# osx_image: xcode10.2
|
|
|
|
# env:
|
|
|
|
# - TARGET=dotnet
|
|
|
|
# - GROUP=LEXER
|
|
|
|
# stage: extended-test
|
|
|
|
# - os: osx
|
|
|
|
# osx_image: xcode10.2
|
|
|
|
# env:
|
|
|
|
# - TARGET=dotnet
|
|
|
|
# - GROUP=PARSER
|
|
|
|
# stage: extended-test
|
|
|
|
# - os: osx
|
|
|
|
# osx_image: xcode10.2
|
|
|
|
# env:
|
|
|
|
# - TARGET=dotnet
|
|
|
|
# - GROUP=RECURSION
|
|
|
|
# stage: extended-test
|
|
|
|
# - os: linux
|
|
|
|
# dist: trusty
|
|
|
|
# jdk: openjdk7
|
|
|
|
# env: TARGET=java
|
|
|
|
# stage: extended-test
|
|
|
|
# - os: linux
|
|
|
|
# jdk: openjdk8
|
|
|
|
# env: TARGET=java
|
|
|
|
# stage: smoke-test
|
|
|
|
# - os: linux
|
|
|
|
# jdk: openjdk8
|
|
|
|
# env: TARGET=csharp
|
|
|
|
# stage: main-test
|
|
|
|
# - os: linux
|
|
|
|
# jdk: openjdk8
|
|
|
|
# env: TARGET=dart
|
|
|
|
# stage: main-test
|
|
|
|
# - os: linux
|
|
|
|
# language: php
|
|
|
|
# php:
|
|
|
|
# - 7.2
|
|
|
|
# jdk: openjdk8
|
|
|
|
# env: TARGET=php
|
|
|
|
# stage: main-test
|
|
|
|
# - os: linux
|
|
|
|
# jdk: openjdk8
|
|
|
|
# dist: trusty
|
|
|
|
# env:
|
|
|
|
# - TARGET=dotnet
|
|
|
|
# - GROUP=LEXER
|
|
|
|
# stage: extended-test
|
|
|
|
# - os: linux
|
|
|
|
# jdk: openjdk8
|
|
|
|
# dist: trusty
|
|
|
|
# env:
|
|
|
|
# - TARGET=dotnet
|
|
|
|
# - GROUP=PARSER
|
|
|
|
# stage: extended-test
|
|
|
|
# - os: linux
|
|
|
|
# jdk: openjdk8
|
|
|
|
# dist: trusty
|
|
|
|
# env:
|
|
|
|
# - TARGET=dotnet
|
|
|
|
# - GROUP=RECURSION
|
|
|
|
# stage: extended-test
|
|
|
|
# - os: linux
|
|
|
|
# jdk: openjdk8
|
|
|
|
# env: TARGET=python2
|
|
|
|
# stage: main-test
|
|
|
|
# - os: linux
|
|
|
|
# jdk: openjdk8
|
|
|
|
# env: TARGET=python3
|
|
|
|
# addons:
|
|
|
|
# apt:
|
|
|
|
# sources:
|
|
|
|
# - deadsnakes # source required so it finds the package definition below
|
|
|
|
# packages:
|
|
|
|
# - python3.7
|
|
|
|
# stage: main-test
|
2016-11-28 01:36:46 +08:00
|
|
|
- os: linux
|
2017-10-13 12:46:20 +08:00
|
|
|
dist: trusty
|
|
|
|
jdk: openjdk8
|
2016-11-28 02:22:18 +08:00
|
|
|
env: TARGET=javascript
|
2017-10-13 12:46:20 +08:00
|
|
|
stage: main-test
|
2020-10-04 03:34:25 +08:00
|
|
|
before_install:
|
2020-10-04 04:08:44 +08:00
|
|
|
- nvm install 14 # otherwise it runs by default on node 8
|
2020-10-04 10:09:24 +08:00
|
|
|
- f="./.travis/before-install-linux-javascript.sh"; ! [ -x "$f" ] || "$f"
|
|
|
|
# - os: linux
|
|
|
|
# dist: trusty
|
|
|
|
# jdk: openjdk8
|
|
|
|
# env: TARGET=go
|
|
|
|
# stage: main-test
|
2016-11-28 02:22:18 +08:00
|
|
|
|
2016-11-28 00:56:14 +08:00
|
|
|
before_install:
|
2017-09-29 06:40:35 +08:00
|
|
|
- f="./.travis/before-install-$TRAVIS_OS_NAME-$TARGET.sh"; ! [ -x "$f" ] || "$f"
|
2016-11-07 08:42:30 +08:00
|
|
|
|
2015-06-23 08:13:20 +08:00
|
|
|
script:
|
2018-11-11 05:30:33 +08:00
|
|
|
- |
|
|
|
|
cd runtime-testsuite;
|
|
|
|
travis_wait 40 ../.travis/run-tests-$TARGET.sh;
|
|
|
|
rc=$?;
|
|
|
|
cat target/surefire-reports/*.dumpstream || true;
|
|
|
|
exit $rc
|