.travis.yml (1476B)
1 language: python 2 python: 3 - pypy 4 notifications: 5 irc: 6 channels: 7 - "irc.dyne.org#avo" 8 on_success: change # options: [always|never|change] default: always 9 on_failure: always # options: [always|never|change] default: always 10 on_start: false # default: false 11 env: 12 - PORTAGE_VER="2.3.40" 13 before_install: 14 - sudo apt-get -qq update 15 - pip install lxml pyyaml 16 before_script: 17 - sudo chmod a+rwX /etc/passwd /etc/group /etc /usr 18 - mkdir -p travis-overlay /etc/portage/ /usr/portage/distfiles 19 - mv !(travis-overlay) travis-overlay/ 20 - mv .git travis-overlay/ 21 - wget "https://raw.githubusercontent.com/mrueg/repoman-travis/master/spinner.sh" 22 - wget -qO - "https://github.com/gentoo/portage/archive/portage-${PORTAGE_VER}.tar.gz" | tar xz 23 - wget -qO - "https://github.com/gentoo-mirror/gentoo/archive/master.tar.gz" | tar xz -C /usr/portage --strip-components=1 24 - chmod a+rwx spinner.sh 25 - echo "portage:x:250:250:portage:/var/tmp/portage:/bin/false" >> /etc/passwd 26 - echo "portage::250:portage,travis" >> /etc/group 27 - wget "https://www.gentoo.org/dtd/metadata.dtd" -O /usr/portage/distfiles/metadata.dtd 28 - ln -s portage-portage-${PORTAGE_VER}/cnf/repos.conf /etc/portage/repos.conf 29 - ln -s /usr/portage/profiles/default/linux/amd64/17.0/musl /etc/portage/make.profile 30 - cd travis-overlay 31 script: 32 - ./../spinner.sh "python ../portage-portage-${PORTAGE_VER}/repoman/bin/repoman full -i -d"