| language: python | |
| python: | |
| - 2.7 | |
| - 3.3 | |
| - 3.4 | |
| - 3.5 | |
| - pypy | |
| script: | |
| - ./setup.py test | |
| - ./setup.py install --root=/tmp/install-root | |
| # prevent repoman tests from trying to fetch metadata.dtd | |
| - mkdir -p /tmp/install-root/usr/lib/portage/cnf | |
| - cp cnf/metadata.dtd /tmp/install-root/usr/lib/portage/cnf/ | |
| - sudo rsync -a /tmp/install-root/. / | |
| - python -b -Wd -m portage.tests.runTests |