Skip to content
This repository has been archived by the owner on Oct 23, 2019. It is now read-only.
/ travis-repo-checks Public archive

Scripts used to run repository checks (using pcheck) from .travis.yml

Notifications You must be signed in to change notification settings

projg2/travis-repo-checks

Repository files navigation

This repository provides a quick set of scripts for QA testing of Gentoo repositories. The checks use pkgcore's pcheck tool with provided output post-processing script.

It is recommended to fetch the scripts directly in your .travis.yml and run them afterwards. This allows us to update them according to changes in pkgcore without you having to update .travis.yml all the time.

Example .travis.yml:

language: python
python:
  - 2.7

install:
  - wget -O - "https://github.com/gentoo/travis-repo-checks/archive/master.tar.gz" | tar -xz
  - bash travis-repo-checks-master/prepare-tests.bash

script:
  - bash travis-repo-checks-master/run-tests.bash

This runs a single pcheck job for the whole repository.

Example with multiple jobs:

language: python
python:
  - 2.7

env:
  - JOB=global
  - JOB=0
  - JOB=1
  - JOB=2
  - JOB=3

install:
  - wget -O - "https://github.com/gentoo/travis-repo-checks/archive/master.tar.gz" | tar -xz
  - bash travis-repo-checks-master/prepare-tests.bash

script:
  - bash travis-repo-checks-master/run-tests.bash ${JOB} 4

Note that you need to pass job count to run-tests.bash, and you should add an additional global job to handle the few checks that can be done on full repository only.

About

Scripts used to run repository checks (using pcheck) from .travis.yml

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published