From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 4DCB1138334 for ; Fri, 2 Nov 2018 07:27:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4F3AEE07D3; Fri, 2 Nov 2018 07:27:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2B844E07D3 for ; Fri, 2 Nov 2018 07:27:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D42DD335CB7 for ; Fri, 2 Nov 2018 07:27:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 14E7C435 for ; Fri, 2 Nov 2018 07:27:24 +0000 (UTC) From: "Alice Ferrazzi" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alice Ferrazzi" Message-ID: <1541143611.b8b2dffce136908b1515f008edc299830ba322a8.alicef@gentoo> Subject: [gentoo-commits] repo/proj/kernel:master commit in: / X-VCS-Repository: repo/proj/kernel X-VCS-Files: .travis.yml X-VCS-Directories: / X-VCS-Committer: alicef X-VCS-Committer-Name: Alice Ferrazzi X-VCS-Revision: b8b2dffce136908b1515f008edc299830ba322a8 X-VCS-Branch: master Date: Fri, 2 Nov 2018 07:27:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 5c140c16-a203-4dff-9198-f28cdb1200e8 X-Archives-Hash: b980b750835d39f302049f5655b6fa4d commit: b8b2dffce136908b1515f008edc299830ba322a8 Author: Alice Ferrazzi gentoo org> AuthorDate: Fri Nov 2 07:26:51 2018 +0000 Commit: Alice Ferrazzi gentoo org> CommitDate: Fri Nov 2 07:26:51 2018 +0000 URL: https://gitweb.gentoo.org/repo/proj/kernel.git/commit/?id=b8b2dffc Add travis script Signed-off-by: Alice Ferrazzi gentoo.org> .travis.yml | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..8a04e49 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,44 @@ +# +# Run repoman via travis +# See https://github.com/mrueg/repoman-travis +# +language: python +python: + - pypy +env: + - PORTAGE_VER="2.3.43" +before_install: + - sudo apt-get -qq update + - pip install lxml pyyaml +before_script: + - sudo chmod a+rwX /etc/passwd /etc/group /etc /usr + - mkdir -p travis-overlay /etc/portage /usr/portage/distfiles + - mv !(travis-overlay) travis-overlay/ + - mv .git travis-overlay/ + - wget "https://raw.githubusercontent.com/mrueg/repoman-travis/master/.travis.yml" -O .travis.yml.upstream + - wget "https://raw.githubusercontent.com/mrueg/repoman-travis/master/spinner.sh" + - wget -qO - "https://github.com/gentoo/portage/archive/portage-${PORTAGE_VER}.tar.gz" | tar xz + - wget -qO - "https://github.com/gentoo-mirror/gentoo/archive/master.tar.gz" | tar xz -C /usr/portage --strip-components=1 + - chmod a+rwx spinner.sh + - echo "portage:x:250:250:portage:/var/tmp/portage:/bin/false" >> /etc/passwd + - echo "portage::250:portage,travis" >> /etc/group + - wget "https://www.gentoo.org/dtd/metadata.dtd" -O /usr/portage/distfiles/metadata.dtd + - ln -s $TRAVIS_BUILD_DIR/portage-portage-${PORTAGE_VER}/cnf/repos.conf /etc/portage/repos.conf + - ln -s /usr/portage/profiles/default/linux/amd64/17.0 /etc/portage/make.profile + - SIZE=$(stat -c %s .travis.yml.upstream) + - 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 + - cd travis-overlay +script: + - ./../spinner.sh "python ../portage-portage-${PORTAGE_VER}/repoman/bin/repoman full -d" +# You can append own scripts after this line +notifications: + irc: + on_success: change + on_failure: always + channels: + - "chat.freenode.net#gentoo-kernelci" + template: + - "%{repository}#%{build_number} (%{branch} - %{commit}): %{message}" + - "%{author} - %{commit_message}" + - "Change view : %{compare_url}" + - "Build details : %{build_url}"