Merge pull request #55 from glensc/travis2

enable travis integration
This commit is contained in:
Serge Hallyn 2016-12-06 23:27:19 -06:00 committed by GitHub
commit 0fb53623a5
4 changed files with 20 additions and 3 deletions

20
.travis.yml Normal file
View File

@ -0,0 +1,20 @@
sudo: false
language: c
compiler:
- gcc
- clang
addons:
apt:
packages:
- autopoint
- xsltproc
script:
- ./autogen.sh --without-selinux --disable-man
- grep ENABLE_ config.status
- make
# vim:et:ts=2:sw=2

View File

@ -215,5 +215,4 @@ $(man_MANS):
@echo "Error: you need to run configure with '--enable-man'" @echo "Error: you need to run configure with '--enable-man'"
@echo " in order to regenerate man pages." @echo " in order to regenerate man pages."
@echo "" @echo ""
@false
endif endif

View File

@ -47,7 +47,6 @@ clean-local:
else else
$(man_MANS): $(man_MANS):
@echo you need to run configure with --enable-man to generate man pages @echo you need to run configure with --enable-man to generate man pages
@false
endif endif
man8/grpconv.8 man8/grpunconv.8 man8/pwunconv.8: man8/pwconv.8 man8/grpconv.8 man8/grpunconv.8 man8/pwunconv.8: man8/pwconv.8

View File

@ -14,7 +14,6 @@ include ../generate_mans.mak
else else
$(man_MANS): $(man_MANS):
@echo you need to run configure with --enable-man to generate man pages @echo you need to run configure with --enable-man to generate man pages
@false
endif endif
CLEANFILES = .xml2po.mo $(EXTRA_DIST) $(addsuffix .xml,$(EXTRA_DIST)) config.xml CLEANFILES = .xml2po.mo $(EXTRA_DIST) $(addsuffix .xml,$(EXTRA_DIST)) config.xml