Unverified Commit 65c147a4 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

travis: test cmake build on tarball too

Could've prevented #1755
parent 7f9bf5cf
Loading
Loading
Loading
Loading
+14 −1
Original line number Diff line number Diff line
@@ -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)