summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorVladimir Glavnyy <31897320+vglavnyy@users.noreply.github.com>2019-10-22 00:11:32 +0700
committerWouter van Oortmerssen <aardappel@gmail.com>2019-10-21 10:11:32 -0700
commit26f238c24888bf02a872f304fe9f03433fd0dd00 (patch)
treea5f428a7adc2fac6392ac5bd849c2a5bf2570d0f /.travis.yml
parente93c8c46e65056381c1862d1be67a5e0dad57948 (diff)
downloadflatbuffers-26f238c24888bf02a872f304fe9f03433fd0dd00.tar.gz
flatbuffers-26f238c24888bf02a872f304fe9f03433fd0dd00.tar.bz2
flatbuffers-26f238c24888bf02a872f304fe9f03433fd0dd00.zip
Add `--clean-first` to the cmake-build command (travis) (#5574)
- `--clean-first` runs `clean` target to remove previously generated files - missed `monster_extra_generated.h` file added to the `flattests` target
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index fd2959f5..e1825fad 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -112,7 +112,7 @@ matrix:
-DGRPC_INSTALL_PATH=$TRAVIS_BUILD_DIR/google/grpc/install
-DPROTOBUF_DOWNLOAD_PATH=$TRAVIS_BUILD_DIR/google/grpc/third_party/protobuf
-DFLATBUFFERS_CODE_SANITIZE=ON
- - cmake --build . -- -j${JOBS}
+ - cmake --build . --target all --clean-first -- -j${JOBS}
- LD_LIBRARY_PATH=$TRAVIS_BUILD_DIR/google/grpc/install/lib ctest --extra-verbose --output-on-failure
- bash .travis/check-generate-code.sh