1 |
commit: 80529d2469b54f258acd329eb3b5ebdaefea9bdd |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 31 13:54:08 2014 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 31 13:54:08 2014 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/ruby-overlay.git;a=commit;h=80529d24 |
7 |
|
8 |
Add .travis.yml. |
9 |
|
10 |
--- |
11 |
.travis.yml | 21 +++++++++++++++++++++ |
12 |
1 file changed, 21 insertions(+) |
13 |
|
14 |
diff --git a/.travis.yml b/.travis.yml |
15 |
new file mode 100644 |
16 |
index 0000000..a0b0461 |
17 |
--- /dev/null |
18 |
+++ b/.travis.yml |
19 |
@@ -0,0 +1,21 @@ |
20 |
+language: python |
21 |
+python: |
22 |
+ - "3.3" |
23 |
+before_script: |
24 |
+ - mkdir travis-overlay |
25 |
+ - mv !(travis-overlay) travis-overlay/ |
26 |
+ - mv .git travis-overlay/ |
27 |
+ - wget "http://distfiles.gentoo.org/distfiles/portage-2.2.10.tar.bz2" |
28 |
+ - wget "http://distfiles.gentoo.org/snapshots/portage-latest.tar.xz" |
29 |
+ - sudo chmod 777 /etc/passwd /etc/group /etc /usr |
30 |
+ - echo "portage:x:250:250:portage:/var/tmp/portage:/bin/false" >> /etc/passwd |
31 |
+ - echo "portage::250:portage,travis" >> /etc/group |
32 |
+ - mkdir -p /etc/portage/ /usr/portage/distfiles |
33 |
+ - tar xjf portage-2.2.10.tar.bz2 |
34 |
+ - tar xJf portage-latest.tar.xz -C /usr/ |
35 |
+ - cp portage-2.2.10/cnf/repos.conf /etc/portage/ |
36 |
+ - 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 |
37 |
+ - ln -s /usr/portage/profiles/base/ /etc/portage/make.profile |
38 |
+ - cd travis-overlay |
39 |
+script: |
40 |
+ - "./../portage-2.2.10/bin/repoman full -d" |