aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Junghans <ottxor@gentoo.org>2014-11-14 17:21:33 -0700
committerChristoph Junghans <ottxor@gentoo.org>2014-11-14 17:21:33 -0700
commita75abfd771787cacc7a641916a5febbd9ae5f730 (patch)
tree6888ea4858dc4190b6fe14f1bab0a7d38f2e9d4e /.travis.yml
parentfixed latex dep (diff)
downloadsci-a75abfd771787cacc7a641916a5febbd9ae5f730.tar.gz
sci-a75abfd771787cacc7a641916a5febbd9ae5f730.tar.bz2
sci-a75abfd771787cacc7a641916a5febbd9ae5f730.zip
.travis.yml: test different portage versions
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml15
1 files changed, 10 insertions, 5 deletions
diff --git a/.travis.yml b/.travis.yml
index 84e0f787d..1ebe1b39b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,19 +1,24 @@
+env:
+ - PORTAGE=2.2.12
+ - PORTAGE=2.2.14
+
before_script:
- mkdir travis-overlay
- mv !(travis-overlay) travis-overlay/
- mv .git travis-overlay/
- - wget "http://distfiles.gentoo.org/distfiles/portage-2.2.12.tar.bz2"
+ - wget "http://distfiles.gentoo.org/distfiles/portage-$PORTAGE.tar.bz2"
- wget "http://distfiles.gentoo.org/snapshots/portage-latest.tar.xz"
- sudo chmod 777 /etc/passwd /etc/group /etc /usr
- 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 xjf portage-2.2.12.tar.bz2
+ - tar xjf portage-$PORTAGE.tar.bz2
- tar xJf portage-latest.tar.xz -C /usr/
- - cp portage-2.2.12/cnf/repos.conf /etc/portage/
+ - cp portage-$PORTAGE/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
- cd travis-overlay
- - sed -i 's/fcmd=fcmd/fcmd=("%s -q" % fcmd)/' ./../portage-2.2.12/bin/repoman
+ - sed -i 's/fcmd=fcmd/fcmd=("%s -q" % fcmd)/' ./../portage-$PORTAGE/bin/repoman
+
script:
- - "./../portage-2.2.12/bin/repoman full -d -v"
+ - "./../portage-$PORTAGE/bin/repoman full -d -v"