]> granicus.if.org Git - json-c/commitdiff
Perform the travis build in a subdir, so the distcheck target works.
authorEric Haszlakiewicz <erh+git@nimenees.com>
Wed, 8 Apr 2020 01:34:22 +0000 (01:34 +0000)
committerEric Haszlakiewicz <erh+git@nimenees.com>
Wed, 8 Apr 2020 01:34:22 +0000 (01:34 +0000)
.travis.yml

index 0a6c0d2fcfb9654c5ff226108a62562b2a74191b..79c2d36cc3b76928f16bb7ff13803d301eaa969f 100644 (file)
@@ -101,7 +101,7 @@ matrix:
           fi\r
       before_script:\r
         - export CFLAGS="-fprofile-arcs -ftest-coverage"\r
-        - cmake .\r
+        - mkdir build && cd build && cmake ..\r
       script:\r
         - make\r
         - make check\r
@@ -124,7 +124,7 @@ before_install:
     fi\r
 \r
 before_script:\r
-  - cmake .\r
+  - mkdir build && cd build && cmake ..\r
 \r
 script:\r
   - make\r