Skip to content

Commit

Permalink
Update .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Heather committed Apr 1, 2015
1 parent 5dd5784 commit 88418f6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit 88418f6

Please sign in to comment.