summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-08-10 00:13:20 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-08-10 10:49:17 +0200
commit478596b34b14f401f97cfb6146abd1bb69a1ca06 (patch)
tree749a320a2b5106b7a55371b4d653bb939df491e9 /.travis.yml
parentafc9651a648e899c4743be36d0e9018c947047b6 (diff)
downloadcurl-478596b34b14f401f97cfb6146abd1bb69a1ca06.tar.gz
travis: verify "make install"
Help-by: Jay Satiro Closes #1753
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml11
1 files changed, 10 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 43c1e25d4..19f974e61 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -111,8 +111,17 @@ script:
./configure
make
./maketgz 99.98.97
- (tar xf curl-99.98.97.tar.gz && cd curl-99.98.97 && ./configure && make && make TFLAGS=1 test)
+ # verify in-tree build - and install it
+ (tar xf curl-99.98.97.tar.gz && \
+ cd curl-99.98.97 && \
+ ./configure --prefix=$HOME/temp && \
+ make && \
+ make TFLAGS=1 test && \
+ make install)
+ # basic check of the installed files
+ 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)
fi