aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2015-02-05 17:36:34 +0100
committerManuel Rüger <mrueg@gentoo.org>2015-02-05 17:36:34 +0100
commita9d0473f4c9c3cbc7bbee5c2b6b64d7d6ae0ef9a (patch)
treef62f92ffdf57ce1c7350302f8617b711457dbc1f
parent[.travis.yml] Update (diff)
downloadruby-overlay-a9d0473f4c9c3cbc7bbee5c2b6b64d7d6ae0ef9a.tar.gz
ruby-overlay-a9d0473f4c9c3cbc7bbee5c2b6b64d7d6ae0ef9a.tar.bz2
ruby-overlay-a9d0473f4c9c3cbc7bbee5c2b6b64d7d6ae0ef9a.zip
[travis] Update travis.yml
-rw-r--r--.travis.yml10
1 files changed, 5 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index f877983..8fee0ed 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,7 +4,7 @@
#
language: python
python:
- - "3.4"
+ - pypy
env:
- PORTAGE_VER="2.2.15"
before_script:
@@ -13,16 +13,16 @@ before_script:
- 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`