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

Create all directories in the beginning

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

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

diff --git a/.travis.yml b/.travis.yml
index f672eea..41f011c 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -20,7 +20,7 @@ env:
   - JOB=15
 
 before_script:
-    - mkdir travis-overlay
+    - 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
@@ -28,7 +28,6 @@ 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 /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
@@ -38,7 +37,7 @@ script:
       for x in $(cat profiles/categories); do
       if test $(( cx++ % 16 )) -eq ${JOB}; then
           cd ${x} && {
-            python ../portage-*/bin/repoman full -v || ret=1;
+            python ../portage-*/bin/repoman full -vdx || ret=1;
           } && cd -;
         fi;
       done;

Reply via email to