aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-02-13 13:07:48 +0100
committerJustin Lecher <jlec@gentoo.org>2015-02-13 13:07:48 +0100
commit084e15cb712950a6c580149f93c1d09c57952374 (patch)
treebc71542f66379dc8014f828c6d26fabde8449b06 /.travis.yml
parentUse pyp as python implementation (diff)
downloadsci-084e15cb712950a6c580149f93c1d09c57952374.tar.gz
sci-084e15cb712950a6c580149f93c1d09c57952374.tar.bz2
sci-084e15cb712950a6c580149f93c1d09c57952374.zip
Import parallel repoman checks from gentoo-rsync2git repo
Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml27
1 files changed, 26 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 9c4bdf253..f8467890f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,6 +4,22 @@ python:
env:
- PORTAGE=2.2.14
- PORTAGE=2.2.17
+ - JOB=0
+ - JOB=1
+ - JOB=2
+ - JOB=3
+ - JOB=4
+ - JOB=5
+ - JOB=6
+ - JOB=7
+ - JOB=8
+ - JOB=9
+ - JOB=10
+ - JOB=11
+ - JOB=12
+ - JOB=13
+ - JOB=14
+ - JOB=15
before_script:
- mkdir travis-overlay
@@ -24,7 +40,16 @@ before_script:
- sed -i 's/fcmd=fcmd/fcmd=("%s -q" % fcmd)/' ./../portage-$PORTAGE/bin/repoman
script:
- - "python ./../portage-$PORTAGE/bin/repoman full -d -v -x"
+ - ret=0; cx=0;
+ for x in $(cat /usr/portage/profiles/categories); do
+ if test $(( cx++ % 16 )) -eq ${JOB}; then
+ cd ${x} && {
+ python ./../portage-${PORTAGE}/bin/repoman full -v -d -x || ret=1;
+ } && cd -;
+ fi;
+ done;
+ exit "${ret}"
notifications:
irc: "chat.freenode.net#gentoo-science"
+