From c2954f9b6f1b5f48087b3c7431548957c5113884 Mon Sep 17 00:00:00 2001 From: Volker Mische Date: Fri, 7 Apr 2017 10:36:09 -0700 Subject: [PATCH] Add Travis job to build examples Summary: Currently the examples fail, having a job building them would prevent that from happening. Closes https://github.com/facebook/rocksdb/pull/2007 Differential Revision: D4831570 Pulled By: yiwu-arbug fbshipit-source-id: e38adfa --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index 8085fd79b..f97ee3c3c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,6 +27,8 @@ env: - JOB_NAME=java_test # Build ROCKSDB_LITE - JOB_NAME=lite_build + # Build examples + - JOB_NAME=examples matrix: exclude: @@ -53,6 +55,7 @@ script: - if [[ "${TEST_GROUP}" == '2' ]]; then OPT=-DTRAVIS V=1 ROCKSDBTESTS_START=comparator_db_test make -j4 check_some; fi - if [[ "${JOB_NAME}" == 'java_test' ]]; then OPT=-DTRAVIS V=1 make clean jclean rocksdbjava jtest; fi - if [[ "${JOB_NAME}" == 'lite_build' ]]; then OPT="-DTRAVIS -DROCKSDB_LITE" V=1 make -j4 static_lib; fi + - if [[ "${JOB_NAME}" == 'examples' ]]; then OPT=-DTRAVIS V=1 make -j4 static_lib; cd examples; make -j4; fi notifications: email: - leveldb@fb.com