diff options
author | Jan Pazdziora <jpazdziora@redhat.com> | 2018-07-16 23:53:42 +0200 |
---|---|---|
committer | Jan Pazdziora <jpazdziora@redhat.com> | 2018-07-17 00:01:50 +0200 |
commit | 02a147cf6bf9ec8c1b648e97307129333e84a051 (patch) | |
tree | 9360a238dd09059a9990a531e2c7aedc1440ea88 /.travis.yml | |
parent | 54b7e8664da55d0bdd68725b2a783888fda914fe (diff) | |
download | mod_authnz_pam-02a147cf6bf9ec8c1b648e97307129333e84a051.tar.gz mod_authnz_pam-02a147cf6bf9ec8c1b648e97307129333e84a051.tar.xz mod_authnz_pam-02a147cf6bf9ec8c1b648e97307129333e84a051.zip |
Test Require pam-account and AuthBasicProvider PAM in CI.
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml index e00cb75..756e443 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,17 +8,17 @@ services: install: true stages: -- build-rpm +- build-and-test matrix: include: - - stage: build-rpm + - stage: build-and-test env: fedora=rawhide - - stage: build-rpm + - stage: build-and-test env: fedora=28 - - stage: build-rpm + - stage: build-and-test env: centos=centos7 - - stage: build-rpm + - stage: build-and-test env: centos=centos6 before_script: @@ -26,4 +26,6 @@ before_script: - if test -n "$centos" ; then sed -i "s#^FROM.*#FROM centos:$centos#" tests/Dockerfile ; fi script: -- docker build -f tests/Dockerfile . +- docker build -t mod_authnz_pam -f tests/Dockerfile . +- docker run --name mod_authnz_pam --rm -d mod_authnz_pam +- docker exec mod_authnz_pam tests/run.sh |