mirror of
https://github.com/json-c/json-c.git
synced 2026-03-23 23:19:06 +08:00
Perform the travis build in a subdir, so the distcheck target works.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user