Skip to content

Commit

Permalink
Add CI config.
Browse files Browse the repository at this point in the history
  • Loading branch information
mossblaser committed Feb 23, 2016
1 parent a55e38a commit 247dced
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
sudo: false
language: python
python:
- 2.7
- 3.4
- 3.5
install:
- python setup.py develop
- pip install -r requirements-test.txt
- pip install python-coveralls
script:
- >
py.test tests/ \
--cov spalloc \
--cov tests \
--durations=10
# Code quality check
- flake8 spalloc tests
after_success:
- coveralls
notifications:
email: false

matrix:
fast_finish: true
13 changes: 13 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
Spalloc: SpiNNaker machine allocation client
============================================

.. image:: https://img.shields.io/pypi/v/spalloc.svg?style=flat
:alt: PyPi version
:target: https://pypi.python.org/pypi/spalloc/
.. image:: https://readthedocs.org/projects/spalloc/badge/?version=stable
:alt: Documentation
:target: http://spalloc.readthedocs.org/
.. image:: https://travis-ci.org/project-rig/spalloc.svg?branch=master
:alt: Build Status
:target: https://travis-ci.org/project-rig/spalloc
.. image:: https://coveralls.io/repos/project-rig/spalloc/badge.svg?branch=master
:alt: Coverage Status
:target: https://coveralls.io/r/project-rig/spalloc?branch=master

Spalloc is a Python library and set of command-line programs for requesting
SpiNNaker_ machines from a spalloc `server`_.

Expand Down

0 comments on commit 247dced

Please sign in to comment.