aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-02-18 10:17:14 +0100
committerJustin Lecher <jlec@gentoo.org>2015-02-18 10:17:14 +0100
commit89afe3fad27dc1bbc260aeb56ba88a5bbc4addaf (patch)
tree0cf8d4fe2680c483765e1ee4b21783ed46f40d95 /.travis.yml
parentUpdate CATs (diff)
downloadsci-89afe3fad27dc1bbc260aeb56ba88a5bbc4addaf.tar.gz
sci-89afe3fad27dc1bbc260aeb56ba88a5bbc4addaf.tar.bz2
sci-89afe3fad27dc1bbc260aeb56ba88a5bbc4addaf.zip
Fix traxis.yml for the overlay
Signed-off-by: Justin Lecher <jlec@gentoo.org>
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 0fd1f4607..662686397 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -20,14 +20,19 @@ env:
- JOB=15
before_script:
+ - mkdir travis-overlay
+ - mv !(travis-overlay) travis-overlay/
+ - mv .git travis-overlay/
+ - wget -O - "https://github.com/gentoo/portage/archive/master.tar.gz" | tar -xz
+ - wget "https://github.com/gentoo/gentoo-portage-rsync-mirror/archive/master.tar.gz" | tar xz -C /usr/portage --strip-components=1
- sudo chmod a+rwX /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
- - ln -s "${PWD}" /usr/portage
- - mkdir -p /etc/portage distfiles
- - ln -s "${PWD}"/profiles/base/ /etc/portage/make.profile
- - wget -O - "https://github.com/gentoo/portage/archive/master.tar.gz" | tar -xz
-
+ - mkdir -p /etc/portage/ /usr/portage/distfiles
+ - cp portage-master/cnf/repos.conf /etc/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
+ - cd travis-overlay
script:
- ret=0; cx=0;
for x in $(cat profiles/categories); do