summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorJames E. King, III <jking@apache.org>2017-09-09 17:54:10 +0000
committerJames E. King, III <jking@apache.org>2017-09-13 19:36:00 +0000
commit81cdcd3dd727908902ad3344fdd2261baf3a1d00 (patch)
tree74044c1b0bf92064700cb85dd29fcd6e69764cf6 /.travis.yml
parent1744cdcb674a20c554ae9f23cb95c0c8eff63b90 (diff)
downloadthrift-81cdcd3dd727908902ad3344fdd2261baf3a1d00.tar.gz
THRIFT-4328: split binary cross tests into their own build job to resolve
timeouts in travis; enable newly reliable cross tests (ran 5 times clean) This closes #1351
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml19
1 files changed, 14 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index 443960bee..341c50284 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -42,9 +42,14 @@ env:
- BUILD_LIBS="CPP C_GLIB HASKELL JAVA PYTHON TESTING TUTORIALS" # only meaningful for CMake builds
matrix:
- - TEST_NAME="Cross Language Tests (Binary, Header, JSON Protocols)"
+ - TEST_NAME="Cross Language Tests (Binary Protocol)"
SCRIPT="cross-test.sh"
- BUILD_ARG="-'(binary|header|json)'"
+ BUILD_ARG="-'(binary)'"
+ BUILD_ENV="-e CC=clang -e CXX=clang++ -e THRIFT_CROSSTEST_CONCURRENCY=4"
+
+ - TEST_NAME="Cross Language Tests (Header, JSON Protocols)"
+ SCRIPT="cross-test.sh"
+ BUILD_ARG="-'(header|json)'"
BUILD_ENV="-e CC=clang -e CXX=clang++ -e THRIFT_CROSSTEST_CONCURRENCY=4"
- TEST_NAME="Cross Language Tests (Compact and Multiplexed Protocols)"
@@ -58,12 +63,12 @@ env:
DISTRO=centos-7.3
SCRIPT="autotools.sh"
BUILD_ENV="-e CC=gcc -e CXX=g++"
- BUILD_ARG="--without-cpp --without-csharp --without-c_glib --without-d -without-dart --without-erlang --without-go --without-haskell --without-haxe"
+ BUILD_ARG="--without-cpp --without-csharp --without-c_glib --without-d -without-dart --without-erlang --without-go --without-haskell --without-haxe --without-nodejs"
- TEST_NAME="Autotools (Ubuntu Xenial)"
SCRIPT="autotools.sh"
BUILD_ENV="-e CC=gcc -e CXX=g++"
- BUILD_ARG="--enable-plugin --without-java --without-lua --without-nodejs --without-perl --without-php --without-php_extension --without-python --without-py3 --without-ruby --without-rust"
+ BUILD_ARG="--enable-plugin --without-java --without-lua --without-perl --without-php --without-php_extension --without-python --without-py3 --without-ruby --without-rust"
# CMake builds
- TEST_NAME="CMake (CentOS 7.3)"
@@ -89,11 +94,15 @@ env:
# C and C++ undefined behavior. This wraps autotools.sh, but each binary crashes if
# undefined behavior occurs. Skips the known flaky tests.
+ # Unstable: THRIFT-4064 needs to be fixed perhaps
- TEST_NAME="UBSan"
SCRIPT="ubsan.sh"
- BUILD_ARG="--without-haskell --without-nodejs --without-perl --without-python"
+ BUILD_ARG="--without-haskell --without-js --without-nodejs --without-perl --without-python"
+ UNSTABLE=true
matrix:
+ allow_failures:
+ - env: UNSTABLE=true
include:
# QA jobs for code analytics and metrics
#