summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorPeter Dillinger <peterd@fb.com>2020-05-22 11:15:44 -0700
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>2020-05-22 11:17:29 -0700
commit35a25a3fb9b5a61a389e853f8be37932487edd03 (patch)
treea7a0b5e753b17817530dc1fa0d5e6db7d70f4ddc /.travis.yml
parent826295a5e9d62e90d6773e1b1221d650de2f3fe4 (diff)
Fix/expand ASSERT_STATUS_CHECKED build, add to Travis (#6870)
Summary: Fixed some option handling code that recently broke the ASSERT_STATUS_CHECKED build for options_test. Added all other existing tests that pass under ASSERT_STATUS_CHECKED to the whitelist. Added a Travis configuration to run all whitelisted tests with ASSERT_STATUS_CHECKED. (Someday we might enable this check by default in debug builds.) Pull Request resolved: https://github.com/facebook/rocksdb/pull/6870 Test Plan: ASSERT_STATUS_CHECKED=1 make check, Travis Reviewed By: ajkr Differential Revision: D21704374 Pulled By: pdillinger fbshipit-source-id: 15daef98136a19d7a6843fa0c9ec08738c2ac693
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml15
1 files changed, 15 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
index 75a770827..c3e6e91ec 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -53,6 +53,7 @@ env:
- JOB_NAME=cmake-gcc9 # 3-5 minutes
- JOB_NAME=cmake-gcc9-c++20 # 3-5 minutes
- JOB_NAME=cmake-mingw # 3 minutes
+ - JOB_NAME=status_checked
matrix:
exclude:
@@ -197,6 +198,17 @@ matrix:
os: linux
arch: ppc64le
env: JOB_NAME=cmake-gcc9-c++20
+ - if: type = pull_request
+ os : osx
+ env: JOB_NAME=status_checked
+ - if: type = pull_request
+ os : linux
+ arch: arm64
+ env: JOB_NAME=status_checked
+ - if: type = pull_request
+ os: linux
+ arch: ppc64le
+ env: JOB_NAME=status_checked
install:
- if [ "${TRAVIS_OS_NAME}" == osx ]; then
@@ -287,6 +299,9 @@ script:
mkdir build && cd build && cmake -DJNI=1 .. -DCMAKE_BUILD_TYPE=Release $OPT && make -j4 rocksdb rocksdbjni
;;
+ status_checked)
+ OPT=-DTRAVIS V=1 ASSERT_STATUS_CHECKED=1 make -j4 check
+ ;;
esac
notifications:
email: