diff options
author | Justin Lecher <jlec@gentoo.org> | 2015-02-13 13:07:48 +0100 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2015-02-13 13:07:48 +0100 |
commit | 084e15cb712950a6c580149f93c1d09c57952374 (patch) | |
tree | bc71542f66379dc8014f828c6d26fabde8449b06 /.travis.yml | |
parent | Use pyp as python implementation (diff) | |
download | sci-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.yml | 27 |
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" + |