commit:     35c128e34b2f49f77963485308897d62b60b8b74
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Wed Feb 18 09:26:10 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Wed Feb 18 09:26:10 2015 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=35c128e3

Do all admin tasks in the beginning

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

---
 .travis.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 41f011c..bec04af 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -20,14 +20,14 @@ env:
   - JOB=15
 
 before_script:
+    - 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
     - mkdir -p travis-overlay /etc/portage/ /usr/portage/distfiles
     - mv !(travis-overlay) travis-overlay/
     - mv .git travis-overlay/
     - wget -O - "https://github.com/gentoo/portage/archive/master.tar.gz"; | 
tar -xz
     - wget -O - 
"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
     - 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

Reply via email to