use wercker instead of travis-ci to enable full test harness

Before this commit: We use travis-ci (ubuntu vm) to run
just the unit tests. We cannot run functional tests on
travis-ci due to lack of platform support.

After this commit: Run the full dockerized test harness on
http://wercker.com to run `hacking/runtests.sh`, which runs
all the unit and functional tests on el5, el6, and f20 to
assert supportability on all the pythons 2.4 through 3.x.

Sample test runs are at:
https://app.wercker.com/#buildstep/5346d0054daac943370042c7
https://app.wercker.com/#buildstep/5346d9914daac94337005096

At the above link...

1. Click **run the docker test suite** in browser to show log
2. Scroll all the way through to see the verbose output and
   summary at bottom.

Note: `hacking/runtests.sh` exits non-zero if any test fails
on any of the platforms.

Wercker docs are online at http://devcenter.wercker.com/#
This commit is contained in:
Paul Morgan 2014-04-10 17:02:12 +00:00
parent 50047b5952
commit 8aedb221bb
3 changed files with 9 additions and 20 deletions

View file

@ -1,8 +0,0 @@
#!/bin/bash
# GitPython does not currently support python3 and
# may be replaced by pygit2.
# https://fedoraproject.org/wiki/User:Churchyard/python3
if [[ $(python --version 2>&1) =~ ^2 ]]; then
pip install 'GitPython >= 0.2.0' --use-mirrors --pre
fi

View file

@ -1,12 +0,0 @@
# http://docs.travis-ci.com/user/languages/python/
language: python
python:
- "2.6"
- "2.7"
- "3.3"
install:
- ./.travis-install-kludge.sh
- pip install 'pep8' --use-mirrors
script: nosetests test/unit

9
wercker.yml Normal file
View file

@ -0,0 +1,9 @@
box: wercker-labs/docker
build:
steps:
- script:
name: print the docker version
code: docker version
- script:
name: run the docker test suite
code: hacking/runtests.sh