Skip to content

Commit d90605a

Browse files
committed
add travis repoman check
1 parent fdb4c61 commit d90605a

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.travis.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
language: python
2+
python:
3+
- "3.3"
4+
before_script:
5+
- mkdir travis-overlay
6+
- mv !(travis-overlay) travis-overlay/
7+
- mv .git travis-overlay/
8+
- wget "http://distfiles.gentoo.org/distfiles/portage-2.2.10.tar.bz2"
9+
- wget "http://distfiles.gentoo.org/snapshots/portage-latest.tar.xz"
10+
- sudo chmod 777 /etc/passwd /etc/group /etc /usr
11+
- echo "portage:x:250:250:portage:/var/tmp/portage:/bin/false" >> /etc/passwd
12+
- echo "portage::250:portage,travis" >> /etc/group
13+
- mkdir -p /etc/portage /usr/portage/distfiles
14+
- tar xjf portage-2.2.10.tar.bz2
15+
- tar xJf portage-latest.tar.xz -C /usr/
16+
- cp portage-2.2.10/cnf/repos.conf /etc/portage/
17+
- 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
18+
- ln -s /usr/portage/profiles/base/ /etc/portage/make.profile
19+
- cd travis-overlay
20+
script:
21+
- "./../portage-2.2.10/bin/repoman full -d"

0 commit comments

Comments
 (0)