Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Travis tests: compile with verbose flag using both clang and gcc
Use preconfigured make config to avoid warnings when autoconf is not used. This also fixes error emitted by `git describe` because the tags are not available in the cloned repository.
- Loading branch information
Showing
2 changed files
with
12 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,18 @@ | ||
language: c | ||
|
||
compiler: | ||
- clang | ||
- gcc | ||
|
||
env: | ||
- TEST=autoconf | ||
- TEST=make | ||
- TEST=autoconf VERBOSE=1 | ||
- TEST=make VERBOSE=@ | ||
|
||
before_install: sudo apt-get update -qq | ||
|
||
install: sudo apt-get install -qq --no-install-recommends asciidoc xmlto docbook-utils | ||
|
||
script: | ||
- if [ x"$TEST" = xautoconf ]; then ./autogen.sh && ./configure; fi | ||
- make && make doc test && sudo make install install-doc | ||
- if [ "$TEST" = autoconf ]; then ./autogen.sh && ./configure; fi | ||
- if [ "$TEST" = make ]; then cp contrib/config.make .; fi | ||
- make V=$VERBOSE DESTDIR=/tmp all test install install-doc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters