diff --git a/.travis.yml b/.travis.yml index f97ee3c3cd..b1a69945fa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,6 +29,7 @@ env: - JOB_NAME=lite_build # Build examples - JOB_NAME=examples + - JOB_NAME=cmake matrix: exclude: @@ -56,6 +57,7 @@ script: - 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 + - if [[ "${JOB_NAME}" == 'cmake' ]]; then mkdir build && cd build && cmake .. && make -j4 rocksdb; fi notifications: email: - leveldb@fb.com