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:
|
2016-11-28 00:56:14 +08:00
|
|
|
- os: linux
|
2019-07-14 13:05:14 +08:00
|
|
|
dist: trusty
|
2016-11-28 02:47:48 +08:00
|
|
|
compiler: clang
|
2019-07-14 11:05:46 +08:00
|
|
|
jdk: openjdk8
|
2017-02-21 03:59:22 +08:00
|
|
|
env:
|
|
|
|
- TARGET=cpp
|
|
|
|
- CXX=g++-5
|
2017-10-20 15:26:35 +08:00
|
|
|
- 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
|
2019-07-14 12:52:35 +08:00
|
|
|
dist: trusty
|
2017-10-20 15:26:35 +08:00
|
|
|
compiler: clang
|
2019-07-14 11:05:46 +08:00
|
|
|
jdk: openjdk8
|
2017-10-20 15:26:35 +08:00
|
|
|
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
|
2019-07-14 12:52:35 +08:00
|
|
|
dist: trusty
|
2017-10-20 15:26:35 +08:00
|
|
|
compiler: clang
|
2019-07-14 11:05:46 +08:00
|
|
|
jdk: openjdk8
|
2017-10-20 15:26:35 +08:00
|
|
|
env:
|
|
|
|
- TARGET=cpp
|
|
|
|
- CXX=g++-5
|
|
|
|
- GROUP=RECURSION
|
2017-10-13 12:46:20 +08:00
|
|
|
stage: main-test
|
2016-11-28 02:50:30 +08:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- ubuntu-toolchain-r-test
|
|
|
|
- llvm-toolchain-precise-3.7
|
|
|
|
packages:
|
|
|
|
- g++-5
|
|
|
|
- uuid-dev
|
|
|
|
- clang-3.7
|
2016-11-28 02:44:07 +08:00
|
|
|
- os: osx
|
|
|
|
compiler: clang
|
2019-03-29 06:24:27 +08:00
|
|
|
osx_image: xcode10.2
|
2017-06-27 00:50:49 +08:00
|
|
|
env:
|
|
|
|
- TARGET=cpp
|
|
|
|
- GROUP=LEXER
|
2017-10-13 12:46:20 +08:00
|
|
|
stage: extended-test
|
2016-11-28 03:04:30 +08:00
|
|
|
- os: osx
|
|
|
|
compiler: clang
|
2019-03-29 06:24:27 +08:00
|
|
|
osx_image: xcode10.2
|
2017-06-27 00:50:49 +08:00
|
|
|
env:
|
|
|
|
- TARGET=cpp
|
|
|
|
- GROUP=PARSER
|
2017-10-13 12:46:20 +08:00
|
|
|
stage: extended-test
|
2017-06-27 00:50:49 +08:00
|
|
|
- os: osx
|
|
|
|
compiler: clang
|
2019-03-29 06:24:27 +08:00
|
|
|
osx_image: xcode10.2
|
2017-06-27 00:50:49 +08:00
|
|
|
env:
|
|
|
|
- TARGET=cpp
|
|
|
|
- GROUP=RECURSION
|
2017-10-13 12:46:20 +08:00
|
|
|
stage: extended-test
|
2017-06-27 00:50:49 +08:00
|
|
|
- os: osx
|
|
|
|
compiler: clang
|
2019-03-29 06:24:27 +08:00
|
|
|
osx_image: xcode10.2
|
2017-06-27 00:50:49 +08:00
|
|
|
env:
|
|
|
|
- TARGET=swift
|
|
|
|
- GROUP=LEXER
|
2017-10-13 12:46:20 +08:00
|
|
|
stage: main-test
|
2017-06-27 00:50:49 +08:00
|
|
|
- os: osx
|
|
|
|
compiler: clang
|
2019-03-29 06:24:27 +08:00
|
|
|
osx_image: xcode10.2
|
2017-06-27 00:50:49 +08:00
|
|
|
env:
|
|
|
|
- TARGET=swift
|
|
|
|
- GROUP=PARSER
|
2017-10-13 12:46:20 +08:00
|
|
|
stage: main-test
|
2017-06-27 00:50:49 +08:00
|
|
|
- os: osx
|
|
|
|
compiler: clang
|
2019-03-29 06:24:27 +08:00
|
|
|
osx_image: xcode10.2
|
2017-06-27 00:50:49 +08:00
|
|
|
env:
|
|
|
|
- TARGET=swift
|
|
|
|
- GROUP=RECURSION
|
2017-10-13 12:46:20 +08:00
|
|
|
stage: main-test
|
2017-05-13 12:43:52 +08:00
|
|
|
- os: linux
|
2018-11-08 05:11:06 +08:00
|
|
|
dist: xenial
|
2017-05-13 12:43:52 +08:00
|
|
|
compiler: clang
|
2017-06-27 23:09:36 +08:00
|
|
|
env:
|
|
|
|
- TARGET=swift
|
|
|
|
- GROUP=ALL
|
2017-10-13 12:46:20 +08:00
|
|
|
stage: extended-test
|
2017-04-04 22:26:40 +08:00
|
|
|
- os: osx
|
2019-03-29 06:24:27 +08:00
|
|
|
osx_image: xcode10.2
|
2017-06-28 22:18:19 +08:00
|
|
|
env:
|
|
|
|
- TARGET=dotnet
|
|
|
|
- GROUP=LEXER
|
2017-10-13 12:46:20 +08:00
|
|
|
stage: extended-test
|
2017-06-28 22:18:19 +08:00
|
|
|
- os: osx
|
2019-03-29 06:24:27 +08:00
|
|
|
osx_image: xcode10.2
|
2017-06-28 22:18:19 +08:00
|
|
|
env:
|
|
|
|
- TARGET=dotnet
|
|
|
|
- GROUP=PARSER
|
2017-10-13 12:46:20 +08:00
|
|
|
stage: extended-test
|
2017-06-28 22:18:19 +08:00
|
|
|
- os: osx
|
2019-03-29 06:24:27 +08:00
|
|
|
osx_image: xcode10.2
|
2017-06-28 22:18:19 +08:00
|
|
|
env:
|
|
|
|
- TARGET=dotnet
|
|
|
|
- GROUP=RECURSION
|
2017-10-13 12:46:20 +08:00
|
|
|
stage: extended-test
|
2016-11-28 01:36:46 +08:00
|
|
|
- os: linux
|
2019-07-14 15:05:21 +08:00
|
|
|
dist: trusty
|
2017-09-29 06:48:25 +08:00
|
|
|
jdk: openjdk7
|
2016-11-28 02:22:18 +08:00
|
|
|
env: TARGET=java
|
2019-07-14 15:11:36 +08:00
|
|
|
stage: extended-test
|
2016-11-28 02:22:18 +08:00
|
|
|
- os: linux
|
2019-07-14 10:57:03 +08:00
|
|
|
jdk: openjdk8
|
2016-11-28 02:22:18 +08:00
|
|
|
env: TARGET=java
|
2017-10-13 12:46:20 +08:00
|
|
|
stage: smoke-test
|
2016-11-28 01:36:46 +08:00
|
|
|
- os: linux
|
2019-07-14 11:05:46 +08:00
|
|
|
jdk: openjdk8
|
2016-11-28 02:22:18 +08:00
|
|
|
env: TARGET=csharp
|
2018-01-01 14:43:29 +08:00
|
|
|
stage: main-test
|
2020-01-19 15:30:39 +08:00
|
|
|
- os: linux
|
|
|
|
jdk: openjdk8
|
|
|
|
env: TARGET=dart
|
|
|
|
stage: main-test
|
2019-09-14 20:36:37 +08:00
|
|
|
- os: linux
|
|
|
|
language: php
|
|
|
|
php:
|
|
|
|
- 7.2
|
|
|
|
jdk: openjdk8
|
|
|
|
env: TARGET=php
|
|
|
|
stage: main-test
|
2017-01-25 08:24:36 +08:00
|
|
|
- os: linux
|
2019-07-14 10:57:03 +08:00
|
|
|
jdk: openjdk8
|
2017-02-21 03:59:22 +08:00
|
|
|
dist: trusty
|
2017-06-28 22:18:19 +08:00
|
|
|
env:
|
|
|
|
- TARGET=dotnet
|
|
|
|
- GROUP=LEXER
|
2019-07-14 11:17:57 +08:00
|
|
|
stage: extended-test
|
2017-06-28 22:18:19 +08:00
|
|
|
- os: linux
|
2017-10-13 12:46:20 +08:00
|
|
|
jdk: openjdk8
|
2017-06-28 22:18:19 +08:00
|
|
|
dist: trusty
|
|
|
|
env:
|
|
|
|
- TARGET=dotnet
|
|
|
|
- GROUP=PARSER
|
2019-07-14 11:17:57 +08:00
|
|
|
stage: extended-test
|
2017-06-28 22:18:19 +08:00
|
|
|
- os: linux
|
2019-07-14 10:57:03 +08:00
|
|
|
jdk: openjdk8
|
2017-06-28 22:18:19 +08:00
|
|
|
dist: trusty
|
|
|
|
env:
|
|
|
|
- TARGET=dotnet
|
|
|
|
- GROUP=RECURSION
|
2019-07-14 11:17:57 +08:00
|
|
|
stage: extended-test
|
2016-11-28 01:36:46 +08:00
|
|
|
- os: linux
|
2019-07-14 11:05:46 +08:00
|
|
|
jdk: openjdk8
|
2016-11-28 02:22:18 +08:00
|
|
|
env: TARGET=python2
|
2018-01-01 14:33:38 +08:00
|
|
|
stage: main-test
|
2016-11-28 01:36:46 +08:00
|
|
|
- os: linux
|
2019-07-14 11:05:46 +08:00
|
|
|
jdk: openjdk8
|
2016-11-28 02:22:18 +08:00
|
|
|
env: TARGET=python3
|
2017-02-21 02:36:36 +08:00
|
|
|
addons:
|
2017-02-21 02:42:02 +08:00
|
|
|
apt:
|
|
|
|
sources:
|
|
|
|
- deadsnakes # source required so it finds the package definition below
|
|
|
|
packages:
|
2020-01-19 03:09:23 +08:00
|
|
|
- python3.7
|
2017-10-13 12:46:20 +08:00
|
|
|
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
|
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=go
|
2017-10-13 12:46:20 +08:00
|
|
|
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
|