commit:     89afe3fad27dc1bbc260aeb56ba88a5bbc4addaf
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 18 09:17:14 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Feb 18 09:17:14 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=89afe3fa

Fix traxis.yml for the overlay

Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

---
 .travis.yml | 15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 0fd1f46..6626863 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

Reply via email to