aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml27
-rw-r--r--README.md (renamed from README)3
2 files changed, 30 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..6f693b2
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,27 @@
+language: python
+python:
+ - "3.4"
+notifications:
+ irc:
+ channels:
+ - "irc.freenode.org#gentoo-hardened"
+ on_success: change # options: [always|never|change] default: always
+ on_failure: always # options: [always|never|change] default: always
+before_script:
+ - mkdir travis-overlay
+ - mv !(travis-overlay) travis-overlay/
+ - mv .git travis-overlay/
+ - wget "http://distfiles.gentoo.org/distfiles/portage-2.2.24.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.24.tar.bz2
+ - tar xJf portage-latest.tar.xz -C /usr/
+ - cp portage-2.2.24/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
+script:
+ - "./../portage-2.2.24/bin/repoman full -i -d"
diff --git a/README b/README.md
index c078176..c58fcac 100644
--- a/README
+++ b/README.md
@@ -4,3 +4,6 @@ for information about the entire overlay.
This overlay/branch is to set up a profile for musl based system.
See: http://www.etalabs.net/musl/
+
+## Repoman status
+[![Repoman Status](https://travis-ci.org/gentoo/musl.png)](https://travis-ci.org/gentoo/musl)