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
main
Volker Mische 8 years ago committed by Facebook Github Bot
parent 72fc1e9d07
commit c2954f9b6f
  1. 3
      .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

Loading…
Cancel
Save