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
This commit is contained in:
parent
72fc1e9d07
commit
c2954f9b6f
@ -27,6 +27,8 @@ env:
|
|||||||
- JOB_NAME=java_test
|
- JOB_NAME=java_test
|
||||||
# Build ROCKSDB_LITE
|
# Build ROCKSDB_LITE
|
||||||
- JOB_NAME=lite_build
|
- JOB_NAME=lite_build
|
||||||
|
# Build examples
|
||||||
|
- JOB_NAME=examples
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
exclude:
|
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 [[ "${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}" == '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}" == '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:
|
notifications:
|
||||||
email:
|
email:
|
||||||
- leveldb@fb.com
|
- leveldb@fb.com
|
||||||
|
Loading…
Reference in New Issue
Block a user