summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-08-10 13:27:17 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-08-12 17:56:47 +0200
commit65c147a467fe79d3f979070b252facc1f7e9c9c1 (patch)
tree4e833f0b318b7cd28f3e77570d9ce3def5f4eaac
parent7f9bf5cfd3d7ebb3c066e38c534b4022b56b2212 (diff)
downloadcurl-65c147a467fe79d3f979070b252facc1f7e9c9c1.tar.gz
travis: test cmake build on tarball too
Could've prevented #1755
-rw-r--r--.travis.yml15
1 files changed, 14 insertions, 1 deletions
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)