From 65c147a467fe79d3f979070b252facc1f7e9c9c1 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 10 Aug 2017 13:27:17 +0200 Subject: travis: test cmake build on tarball too Could've prevented #1755 --- .travis.yml | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 19f974e61..64aecd890 100644 --- a/.travis.yml +++ b/.travis.yml @@ -122,7 +122,20 @@ script: bash scripts/installcheck.sh $HOME/temp rm -rf curl-99.98.97 # verify out-of-tree build - (tar xf curl-99.98.97.tar.gz && mkdir build && cd build && ../curl-99.98.97/configure && make && make TFLAGS=1 test) + (tar xf curl-99.98.97.tar.gz && \ + mkdir build && \ + cd build && \ + ../curl-99.98.97/configure && \ + make && \ + make TFLAGS=1 test) + # verify cmake build + rm -rf curl-99.98.97 + (tar xf curl-99.98.97.tar.gz && \ + cd curl-99.98.97 && \ + mkdir build && \ + cd build && \ + cmake .. && \ + make) fi # whitelist branches to avoid testing feature branches twice (as branch and as pull request) -- cgit v1.2.3