divide and conquer

This commit is contained in:
Eric Vergnaud 2016-11-28 02:22:18 +08:00
parent 874fea8cc6
commit c3f9cb3cc7
10 changed files with 43 additions and 53 deletions

View File

@ -1,65 +1,43 @@
sudo: true
os:
- linux
- osx
language: java
jdk:
- oraclejdk7
- oraclejdk8
compiler: clang
osx_image: xcode8.1
env:
- TARGET=java
- TARGET=csharp
- TARGET=python2
- TARGET=python3
- TARGET=javascript
- TARGET=cpp
- TARGET=go
- TARGET=swift
matrix:
exclude:
include:
- os: linux
env: TARGET=swift
- os: linux
env: TARGET=csharp
jdk: oraclejdk7
- os: linux
env: TARGET=python2
jdk: oraclejdk7
- os: linux
env: TARGET=python3
jdk: oraclejdk7
- os: linux
env: TARGET=javascript
jdk: oraclejdk7
- os: linux
env: TARGET=cpp
jdk: oraclejdk7
- os: linux
env: TARGET=go
jdk: oraclejdk7
- os: osx
env: TARGET=java
- os: osx
- os: linux
jdk: oraclejdk8
env: TARGET=java
- os: linux
jdk: oraclejdk7
env: TARGET=csharp
- os: osx
- os: linux
jdk: oraclejdk7
env: TARGET=python2
- os: osx
- os: linux
jdk: oraclejdk7
env: TARGET=python3
- os: osx
- os: linux
jdk: oraclejdk7
env: TARGET=javascript
- os: osx
env: TARGET=cpp
- os: osx
- os: linux
jdk: oraclejdk7
env: TARGET=go
- os: osx
compiler: clang
osx_image: xcode8.1
env: TARGET=swift
- os: osx
compiler: clang
osx_image: xcode8.1
env: TARGET=cpp
before_install:
- ./.travis/before-install-$TRAVIS_OS_NAME-$TARGET.sh

View File

@ -0,0 +1,12 @@
#!/bin/bash
set -euo pipefail
thisdir=$(dirname "$0")
brew update
# Work around apparent rvm bug that is in Travis's Xcode image.
# https://github.com/direnv/direnv/issues/210
# https://github.com/travis-ci/travis-ci/issues/6307
shell_session_update() { :; }

View File

@ -1,3 +1,3 @@
#!/bin/bash
mvn -Dtest=cpp.* test # timeout due to no output for 10 min on travis if in parallel
mvn -q -Dtest=cpp.* test # timeout due to no output for 10 min on travis if in parallel

View File

@ -1,3 +1,3 @@
#!/bin/bash
mvn -Dparallel=methods -DthreadCount=4 -Dtest=csharp.* test
mvn -q -Dparallel=methods -DthreadCount=4 -Dtest=csharp.* test

View File

@ -1,3 +1,3 @@
#!/bin/bash
mvn -Dparallel=methods -DthreadCount=4 -Dtest=go.* test
mvn -q -Dparallel=methods -DthreadCount=4 -Dtest=go.* test

View File

@ -1,3 +1,3 @@
#!/bin/bash
mvn -Dparallel=methods -DthreadCount=4 -Dtest=java.* test
mvn -q -Dparallel=methods -DthreadCount=4 -Dtest=java.* test

View File

@ -1,3 +1,3 @@
#!/bin/bash
mvn -Dparallel=methods -DthreadCount=4 -Dtest=node.* test
mvn -q -Dparallel=methods -DthreadCount=4 -Dtest=node.* test

View File

@ -1,3 +1,3 @@
#!/bin/bash
mvn -Dparallel=methods -DthreadCount=4 -Dtest=python2.* test
mvn -q -Dparallel=methods -DthreadCount=4 -Dtest=python2.* test

View File

@ -1,3 +1,3 @@
#!/bin/bash
mvn -Dparallel=methods -DthreadCount=4 -Dtest=python3.* test
mvn -q -Dparallel=methods -DthreadCount=4 -Dtest=python3.* test

View File

@ -1,4 +1,4 @@
#!/bin/bash
# only test swift as we develop on os x so likely well tested and its dog slow on travis
mvn -Dtest=swift.* test
mvn -q -Dtest=swift.* test