<commit_before>sudo: required

services:
  - docker

env:
  global:
    - PACKAGE="apache-tomcat"
    - VERSION="7.0.65"

script:
# Build the RPM(s).
- docker run -v $(pwd):/data robertdebock/docker-centos /bin/sh /data/build.sh -d /data -s ${PACKAGE}.spec -v ${VERSION}
# Test the installation of the RPM.
- docker run -v $(pwd):/data robertdebock/docker-centos /bin/sh /data/test.sh -v ${VERSION}
# Publish the RPM.
- docker run -v $(pwd):/data robertdebock/docker-centos /bin/sh /data/publish.sh -u ${URL} -p /data/rpmbuild/RPMS/x86_64/${PACKAGE}-${VERSION}-1.el7.x86_64.rpm
- docker run -v $(pwd):/data robertdebock/docker-centos /bin/sh /data/publish.sh -u ${URL} -p /data/rpmbuild/RPMS/noarch/${PACKAGE}-manager-${VERSION}-1.el7.noarch.rpm
- docker run -v $(pwd):/data robertdebock/docker-centos /bin/sh /data/publish.sh -u ${URL} -p /data/rpmbuild/RPMS/noarch/${PACKAGE}-ROOT-${VERSION}-1.el7.noarch.rpm
- docker run -v $(pwd):/data robertdebock/docker-centos /bin/sh /data/publish.sh -u ${URL} -p /data/rpmbuild/RPMS/noarch/${PACKAGE}-docs-${VERSION}-1.el7.noarch.rpm
- docker run -v $(pwd):/data robertdebock/docker-centos /bin/sh /data/publish.sh -u ${URL} -p /data/rpmbuild/RPMS/noarch/${PACKAGE}-examples-${VERSION}-1.el7.noarch.rpm
- docker run -v $(pwd):/data robertdebock/docker-centos /bin/sh /data/publish.sh -u ${URL} -p /data/rpmbuild/RPMS/noarch/${PACKAGE}-host-manager-${VERSION}-1.el7.noarch.rpm
- docker run -v $(pwd):/data robertdebock/docker-centos /bin/sh /data/publish.sh -u ${URL} -p /data/rpmbuild/RPMS/x86_64/${PACKAGE}-debuginfo-${VERSION}-1.el7.x86_64.rpm

notifications:
  email: false<commit_msg>Update .travis.yml<commit_after>sudo: required

services:
  - docker

env:
  global:
    - PACKAGE="apache-tomcat"
    - VERSION="7.0.65"

script:
# Build the RPM(s).
- docker run -v $(pwd):/data robertdebock/docker-centos /bin/sh /data/build.sh -d /data -s ${PACKAGE}.spec -v ${VERSION}
# Test the installation of the RPM.
- docker run -v $(pwd):/data robertdebock/docker-centos /bin/sh /data/test.sh -v ${VERSION}
# Publish the RPM.
- docker run -v $(pwd):/data robertdebock/docker-centos /bin/sh /data/publish.sh -u ${URL} -p /data/rpmbuild/RPMS/x86_64/${PACKAGE}-${VERSION}-1.el7.x86_64.rpm
- docker run -v $(pwd):/data robertdebock/docker-centos /bin/sh /data/publish.sh -u ${URL} -p /data/rpmbuild/RPMS/noarch/${PACKAGE}-manager-${VERSION}-1.el7.noarch.rpm
- docker run -v $(pwd):/data robertdebock/docker-centos /bin/sh /data/publish.sh -u ${URL} -p /data/rpmbuild/RPMS/noarch/${PACKAGE}-ROOT-${VERSION}-1.el7.noarch.rpm
- docker run -v $(pwd):/data robertdebock/docker-centos /bin/sh /data/publish.sh -u ${URL} -p /data/rpmbuild/RPMS/noarch/${PACKAGE}-docs-${VERSION}-1.el7.noarch.rpm
- docker run -v $(pwd):/data robertdebock/docker-centos /bin/sh /data/publish.sh -u ${URL} -p /data/rpmbuild/RPMS/noarch/${PACKAGE}-examples-${VERSION}-1.el7.noarch.rpm
- docker run -v $(pwd):/data robertdebock/docker-centos /bin/sh /data/publish.sh -u ${URL} -p /data/rpmbuild/RPMS/noarch/${PACKAGE}-host-manager-${VERSION}-1.el7.noarch.rpm

notifications:
  email: false
{'fraction_non_alphanumeric': 0.19903069466882067, 'fraction_numerical': 0.018739903069466882, 'mean_word_length': 3.6140089418777945, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '42961', 'n_tokens_mistral': 1336, 'n_tokens_neox': 1268, 'n_words': 235}