Jason R. Coombs avatar Jason R. Coombs committed 912a461

Updated continuous integration tests

Comments (0)

Files changed (3)


 <?xml version='1.0' encoding='UTF-8'?>
+<project xmlns:py="http://genshi.edgewall.org/">
+  <logRotator>
+    <daysToKeep>30</daysToKeep>
+    <numToKeep>7</numToKeep>
+    <artifactDaysToKeep>-1</artifactDaysToKeep>
+    <artifactNumToKeep>-1</artifactNumToKeep>
+  </logRotator>
   <scm class="hudson.plugins.mercurial.MercurialSCM">
-    <source>https://bitbucket.org/yougov/pmxbot</source>
+    <source py:content="repo_url" />
+    <branch py:if="branch" py:content="branch" />
-    <browser class="hudson.plugins.mercurial.browser.BitBucket">
-      <url>https://bitbucket.org/yougov/pmxbot/</url>
+    <browser class="hudson.plugins.mercurial.browser.$browser_plugin">
+      <url py:content="browser_url" />
       <testResults>test results.xml</testResults>
-      <keepLongStdio>true</keepLongStdio>
+      <keepLongStdio>false</keepLongStdio>
-virtualenv --no-site-packages env
+#!/bin/bash -e
-env/bin/python setup.py develop
-env/bin/easy_install pytest pymongo
-env/bin/py.test --junitxml="test results.xml"
+# force YG cheeseshop (for now)
+python2.7 -c "import setuptools; setuptools.setup()" setopt -c easy_install -o index-url -s http://cheese.yougov.net
+python2.7 setup.py ptr --junitxml="test results.xml"
 	long_description = open('README').read(),
+		'pytest-runner',
+	],
+	tests_require=[
+		'pymongo',
+		'pytest',
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.