mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-24 08:00:02 -06:00
fee9bbd85a
make rpms and ./makerpms.sh will produce the same RPM packages. The advantage of makerpms.sh is that it will take care of initial autoreconf & configure phases as needed. rpm-build-4.13.0-1.fc24.x86_64 broke parallel build of RPMs. If you get error INTERNAL: Exiting with 1 jobserver tokens available; should be 8! undefine the MAKEFLAGS variable and do not specify neither -j nor -l. https://fedorahosted.org/freeipa/ticket/6418 Reviewed-By: Martin Basti <mbasti@redhat.com> Reviewed-By: Christian Heimes <cheimes@redhat.com>
17 lines
440 B
YAML
17 lines
440 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 -D "with_lint 1" --spec freeipa.spec.in && ./makerpms.sh'
|