mirror of
https://github.com/Yubico/yubico-pam.git
synced 2024-11-29 00:24:11 +01:00
8c740c13df
Since the install script currently requires sudo, we should state so explicetely in the .travis.yml file to make sure we get a sudo-enabled environment and not a container-based one, as there is no sudo available in the latter one. The default was changed in August 2017, so when forking this repository, the Travis CI won't work out-of-the box without this modification. This is described in some details here [1]. [1]: https://docs.travis-ci.com/user/reference/overview/
20 lines
550 B
YAML
20 lines
550 B
YAML
sudo: required
|
|
language: c
|
|
os:
|
|
- linux
|
|
- osx
|
|
compiler:
|
|
- gcc
|
|
- clang
|
|
env:
|
|
- CONFIGURE_ARGS="" EXTRA="libldap2-dev libykpers-1-dev libnet-ldap-server-perl"
|
|
- CONFIGURE_ARGS="--without-ldap" EXTRA="libykpers-1-dev"
|
|
- CONFIGURE_ARGS="--without-cr" EXTRA="libldap2-dev libnet-ldap-server-perl"
|
|
- CONFIGURE_ARGS="--without-ldap --without-cr"
|
|
script: tests/aux/build-and-test.sh
|
|
matrix:
|
|
include:
|
|
- compiler: gcc
|
|
os: linux
|
|
env: COVERAGE="--enable-coverage" EXTRA="libldap2-dev libykpers-1-dev libnet-ldap-server-perl lcov"
|