Gentoo Archives: gentoo-commits

From: Aisha Tammy <gentoo@×××××.cc>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: /
Date: Tue, 29 Sep 2020 17:29:05
Message-Id: 1601400514.c09990c883127a91ed0b944cd8619749a2f54245.epsilon-0@gentoo
1 commit: c09990c883127a91ed0b944cd8619749a2f54245
2 Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
3 AuthorDate: Tue Sep 29 17:28:34 2020 +0000
4 Commit: Aisha Tammy <gentoo <AT> aisha <DOT> cc>
5 CommitDate: Tue Sep 29 17:28:34 2020 +0000
6 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=c09990c8
7
8 Travis CI - add pkgcheck scan
9
10 Package-Manager: Portage-3.0.8, Repoman-3.0.1
11 Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>
12
13 .travis.yml | 6 ++----
14 1 file changed, 2 insertions(+), 4 deletions(-)
15
16 diff --git a/.travis.yml b/.travis.yml
17 index c10d6b7dd..f54be17af 100644
18 --- a/.travis.yml
19 +++ b/.travis.yml
20 @@ -9,13 +9,12 @@ env:
21 - PORTAGE_VER="3.0.7"
22 before_install:
23 - sudo apt-get -qq update
24 - - pip install lxml pyyaml
25 + - pip install lxml pyyaml pkgcheck
26 before_script:
27 - sudo chmod a+rwX /etc/passwd /etc/group /etc /var /var/cache
28 - mkdir -p travis-overlay /etc/portage /var/cache/distfiles /var/db/repos/gentoo
29 - mv !(travis-overlay) travis-overlay/
30 - mv .git travis-overlay/
31 - - wget "https://raw.githubusercontent.com/mrueg/repoman-travis/master/.travis.yml" -O .travis.yml.upstream
32 - wget "https://raw.githubusercontent.com/mrueg/repoman-travis/master/spinner.sh"
33 - wget -qO - "https://github.com/gentoo/portage/archive/portage-${PORTAGE_VER}.tar.gz" | tar xz
34 - wget -qO - "https://github.com/gentoo-mirror/gentoo/archive/master.tar.gz" | tar xz -C /var/db/repos/gentoo --strip-components=1
35 @@ -25,11 +24,10 @@ before_script:
36 - wget "https://www.gentoo.org/dtd/metadata.dtd" -O /var/cache/distfiles/metadata.dtd
37 - ln -s $TRAVIS_BUILD_DIR/portage-portage-${PORTAGE_VER}/cnf/repos.conf /etc/portage/repos.conf
38 - ln -s /var/db/repos/gentoo/profiles/default/linux/amd64/17.0 /etc/portage/make.profile
39 - - SIZE=$(stat -c %s .travis.yml.upstream)
40 - - if ! cmp -n $SIZE -s .travis.yml .travis.yml.upstream; then echo -e "\e[31m !!! .travis.yml outdated! Update available https://github.com/mrueg/repoman-travis \e[0m" > /tmp/update ; fi
41 - cd travis-overlay
42 script:
43 - ./../spinner.sh "python ../portage-portage-${PORTAGE_VER}/repoman/bin/repoman full -d"
44 + - ./../spinner.sh "pkgcheck scan"
45 # You can append own scripts after this line
46
47 notifications: