From: Eric Haszlakiewicz Date: Wed, 8 Apr 2020 01:34:22 +0000 (+0000) Subject: Perform the travis build in a subdir, so the distcheck target works. X-Git-Tag: json-c-0.14-20200419~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3b82cbc778f4937b9fbb8e191285991c1ce4b18;p=thirdparty%2Fjson-c.git Perform the travis build in a subdir, so the distcheck target works. --- diff --git a/.travis.yml b/.travis.yml index 0a6c0d2f..79c2d36c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -101,7 +101,7 @@ matrix: fi before_script: - export CFLAGS="-fprofile-arcs -ftest-coverage" - - cmake . + - mkdir build && cd build && cmake .. script: - make - make check @@ -124,7 +124,7 @@ before_install: fi before_script: - - cmake . + - mkdir build && cd build && cmake .. script: - make