mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 23:50:03 -06:00
17 lines
419 B
YAML
17 lines
419 B
YAML
|
services:
|
||
|
- docker
|
||
|
|
||
|
before_install:
|
||
|
- pip install pep8
|
||
|
|
||
|
script:
|
||
|
- >
|
||
|
if [[ "$TRAVIS_EVENT_TYPE" == "pull_request" ]];
|
||
|
then
|
||
|
git diff origin/${TRAVIS_BRANCH} -U0 | pep8 --diff;
|
||
|
fi
|
||
|
- >
|
||
|
docker run -v $PWD:/freeipa -w /freeipa
|
||
|
martbab/freeipa-fedora-builder:${TRAVIS_BRANCH}-latest
|
||
|
/bin/bash -c 'dnf builddep -y --spec freeipa.spec.in && make rpms'
|