Commit graph

6 commits

Author SHA1 Message Date
Steve Kuznetsov
0ebcf99443
Add a Travis CI manifest
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com>
2017-01-26 09:56:15 -05:00
Paul Morgan
8aedb221bb 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/#
2014-04-10 17:59:56 +00:00
Paul Morgan
2380fd81a0 add python 3.3 to travis-ci build matrix 2014-02-28 15:38:25 +00:00
Paul Morgan
c108f6022a add pep8 tests for syntax errors 2014-02-27 21:22:05 +00:00
Paul Morgan
47a5cda981 resolve build errors on travis-ci
* travis-ci no longer supports python 2.5

  http://blog.travis-ci.com/2013-11-18-upcoming-build-environment-updates/

  > Python 2.5 has been removed due to very low overall usage and
  > breaking changes in pip and virtualenv.

* GitPython

  pip install no longer supports pre-release versions by default
  http://www.pip-installer.org/en/latest/reference/pip_install.html#pre-release-versions

  resolves build error:

    $ pip install 'GitPython >= 0.2.0' --use-mirrors
    --use-mirrors has been deprecated and will be removed in the future.
    Explicit uses of --index-url and/or --extra-index-url is suggested.
    Downloading/unpacking GitPython>=0.2.0
      Could not find a version that satisfies the requirement
      GitPython>=0.2.0 (from versions: 0.1.7, 0.2.0-beta1, 0.3.0-beta1,
      0.3.0-beta2, 0.3.1-beta2, 0.3.2.RC1)
    Cleaning up...
    No distributions matching the version for GitPython>=0.2.0
2014-02-27 21:13:40 +00:00
James Bowes
e3a6111072 Add a Travis configuration
Travis[1] runs continuous integration for Open Source projects. With
github, it will run the configured tests and tag pull requests as passing
or failing. This commit adds a Travis configuration.

Since Travis hosts run debian/ubuntu, and execute tests in virtualenv,
getting access to `rpm` and `python-rpm` is impossible, or nontrivial,
at least. For now, ignore the functional tests. To support running the
BuildTargetParser tests, pull that class out into its own module, and
away from release.py, which imports `rpm`.

To configure travis, go to the website, log in with your github account,
then sync your repos under the account tab below your name. Then just
switch the repo to 'on' and it should be all set up.

[1]: http://travis-ci.org
2012-11-10 10:49:28 -04:00