From 88418f6a8ec04826f9b41c3b0f172d09f4791b2e Mon Sep 17 00:00:00 2001 From: Heather Date: Wed, 1 Apr 2015 17:35:34 +0400 Subject: [PATCH] Update .travis.yml --- .travis.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.travis.yml b/.travis.yml index f877983..7b76eac 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,25 +4,25 @@ # language: python python: - - "3.4" + - pypy env: - - PORTAGE_VER="2.2.15" + - PORTAGE_VER="2.2.18" before_script: - mkdir travis-overlay - 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://github.com/gentoo/portage/archive/v${PORTAGE_VER}.tar.gz" -O portage-${PORTAGE_VER}.tar.gz - - wget "http://distfiles.gentoo.org/snapshots/portage-latest.tar.xz" - wget "https://raw.githubusercontent.com/mrueg/repoman-travis/master/spinner.sh" - - sudo chmod 777 /etc/passwd /etc/group /etc /usr spinner.sh + - wget "https://github.com/gentoo/gentoo-portage-rsync-mirror/archive/master.tar.gz" -O portage-tree.tar.gz + - sudo chmod a+rwX /etc/passwd /etc/group /etc /usr spinner.sh + - 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 - mkdir -p /etc/portage/ /usr/portage/distfiles - tar xzf portage-${PORTAGE_VER}.tar.gz - - tar xJf portage-latest.tar.xz -C /usr/ + - tar xzf portage-tree.tar.gz -C /usr/portage --strip-components=1 - cp portage-${PORTAGE_VER}/cnf/repos.conf /etc/portage/ - - rsync --recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --checksum --quiet rsync://rsync.gentoo.org/gentoo-portage /usr/portage - ln -s /usr/portage/profiles/base/ /etc/portage/make.profile - wget "http://www.gentoo.org/dtd/metadata.dtd" -O /usr/portage/distfiles/metadata.dtd - SIZE=`stat -c %s .travis.yml.upstream`