commit:     63efaf1c45ed3a9086474d35bb838915030e6ae3
Author:     Sébastien Fabbro <bicatali <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 10 16:32:42 2014 +0000
Commit:     Thomas Kahle <tom111 <AT> gmx <DOT> de>
CommitDate: Tue Jun 10 16:32:42 2014 +0000
URL:        
http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=63efaf1c

added a travis repoman check

---
 .travis.yml | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..ce116ca
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,19 @@
+before_script:
+    - mkdir travis-overlay
+    - mv !(travis-overlay) travis-overlay/
+    - mv .git travis-overlay/
+    - wget "http://distfiles.gentoo.org/distfiles/portage-2.2.10.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.10.tar.bz2
+    - tar xJf portage-latest.tar.xz -C /usr/
+    - cp portage-2.2.10/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.10/bin/repoman
+script: 
+    - "./../portage-2.2.10/bin/repoman full -d"

Reply via email to