Skip to content

Commit

Permalink
Add Travis config.
Browse files Browse the repository at this point in the history
  • Loading branch information
mossblaser committed May 13, 2015
1 parent 2686ad9 commit f3258df
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 2 deletions.
17 changes: 17 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
sudo: false
language: python
python:
- 2.7
- 3.4
install:
- python setup.py install
- pip install -r requirements-test.txt
- pip install python-coveralls
script:
- py.test tests --cov "$(./utils/rig_path.py)" --cov tests --durations=10
after_success:
- coveralls
notifications:
email: false
matrix:
fast_finish: true
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
SpiNNer
=======
SpiNNer: SpiNNaker Wiring Tools
===============================

![A wiring diagram for a 1-million core SpiNNaker system](docs/source/full_machine.png)

Expand Down
5 changes: 5 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@
# Metadata for PyPi
author="Jonathan Heathcote",
description="A tool for generating wiring instructions for large SpiNNaker machines.",
long_description = (
"See `GitHub <https://github.com/SpiNNakerManchester/SpiNNer>`_ or "
"the documentation on `ReadTheDocs <http://spinner.readthedocs.org/>`_ for "
"more information."
),
license="GPLv2",

# Requirements
Expand Down
8 changes: 8 additions & 0 deletions utils/spinner_path.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/usr/bin/env python

"""Print the path of the local SpiNNer installation."""

if __name__=="__main__": # pragma: no cover
import spinner
import os.path
print(os.path.dirname(spinner.__file__))

0 comments on commit f3258df

Please sign in to comment.