commit:     e004e7a3be9420790481630ffd9671d2a57a72ae
Author:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
AuthorDate: Sat May 14 23:39:39 2016 +0000
Commit:     Brian Dolbec <dolsen <AT> gentoo <DOT> org>
CommitDate: Sun May 15 18:17:11 2016 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=e004e7a3

.travis.yml: Update for the new repoman sub-structure

Fix the metadata.xsd file copy to find it in the new repoman namespace
Add repoman test suite
Add lxml dependency

 .travis.yml | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 5213fee..53e60bc 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,11 +5,22 @@ python:
     - 3.4
     - 3.5
     - pypy
+
+# command to install dependencies
+install: "pip install lxml"
+
 script:
     - ./setup.py test
     - ./setup.py install --root=/tmp/install-root
     # prevent repoman tests from trying to fetch metadata.xsd
     - mkdir -p /tmp/install-root/usr/lib/portage/cnf
-    - cp cnf/metadata.xsd /tmp/install-root/usr/lib/portage/cnf/
+    - cp repoman/cnf/metadata.xsd /tmp/install-root/usr/lib/portage/cnf/
     - sudo rsync -a /tmp/install-root/. /
     - python -b -Wd -m portage.tests.runTests
+    # repoman test block
+    - cd repoman
+    - ./setup.py test
+    - ./setup.py install --root=/tmp/install-root
+    - cd ..
+    - sudo rsync -a /tmp/install-root/. /
+    - python -b -Wd -m repoman.tests.runTests

Reply via email to