1 |
commit: 609e9396cca5533c0183632967c819c327c10a21 |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jul 2 14:54:11 2017 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jul 2 14:54:11 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=609e9396 |
7 |
|
8 |
travis.yml: update |
9 |
|
10 |
.travis.yml | 27 ++++++++++++++++----------- |
11 |
1 file changed, 16 insertions(+), 11 deletions(-) |
12 |
|
13 |
diff --git a/.travis.yml b/.travis.yml |
14 |
index 99b822e..6011fc3 100644 |
15 |
--- a/.travis.yml |
16 |
+++ b/.travis.yml |
17 |
@@ -1,27 +1,32 @@ |
18 |
language: python |
19 |
python: |
20 |
- - "3.2" |
21 |
+ - pypy |
22 |
notifications: |
23 |
irc: |
24 |
channels: |
25 |
- "irc.freenode.org#gentoo-hardened" |
26 |
on_success: change # options: [always|never|change] default: always |
27 |
on_failure: always # options: [always|never|change] default: always |
28 |
+ on_start: false # default: false |
29 |
+env: |
30 |
+ - PORTAGE_VER="2.3.6" |
31 |
+before_install: |
32 |
+ - sudo apt-get -qq update |
33 |
+ - pip install lxml |
34 |
before_script: |
35 |
- - mkdir travis-overlay |
36 |
+ - sudo chmod a+rwX /etc/passwd /etc/group /etc /usr |
37 |
+ - mkdir -p travis-overlay /etc/portage/ /usr/portage/distfiles |
38 |
- mv !(travis-overlay) travis-overlay/ |
39 |
- mv .git travis-overlay/ |
40 |
- - wget "http://distfiles.gentoo.org/distfiles/portage-2.2.28.tar.bz2" |
41 |
- - wget "http://distfiles.gentoo.org/snapshots/portage-latest.tar.xz" |
42 |
- - sudo chmod 777 /etc/passwd /etc/group /etc /usr |
43 |
+ - wget "https://raw.githubusercontent.com/mrueg/repoman-travis/master/spinner.sh" |
44 |
+ - wget -qO - "https://github.com/gentoo/portage/archive/portage-${PORTAGE_VER}.tar.gz" | tar xz |
45 |
+ - wget -qO - "https://github.com/gentoo-mirror/gentoo/archive/master.tar.gz" | tar xz -C /usr/portage --strip-components=1 |
46 |
+ - chmod a+rwx spinner.sh |
47 |
- echo "portage:x:250:250:portage:/var/tmp/portage:/bin/false" >> /etc/passwd |
48 |
- echo "portage::250:portage,travis" >> /etc/group |
49 |
- - mkdir -p /etc/portage/ /usr/portage/distfiles |
50 |
- - tar xjf portage-2.2.28.tar.bz2 |
51 |
- - tar xJf portage-latest.tar.xz -C /usr/ |
52 |
- - cp portage-2.2.28/cnf/repos.conf /etc/portage/ |
53 |
- - 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 |
54 |
+ - wget "https://www.gentoo.org/dtd/metadata.dtd" -O /usr/portage/distfiles/metadata.dtd |
55 |
+ - ln -s portage-portage-${PORTAGE_VER}/cnf/repos.conf /etc/portage/repos.conf |
56 |
- ln -s /usr/portage/profiles/default/linux/amd64/13.0 /etc/portage/make.profile |
57 |
- cd travis-overlay |
58 |
script: |
59 |
- - ./../portage-2.2.28/bin/repoman full -i -d |
60 |
+ - ./../spinner.sh "python ../portage-portage-${PORTAGE_VER}/repoman/bin/repoman full -i -d" |