Skip to content
This repository has been archived by the owner on Jun 21, 2023. It is now read-only.

Commit

Permalink
Merge branch 'master' into lint-2
Browse files Browse the repository at this point in the history
  • Loading branch information
dkfellows committed Feb 13, 2018
2 parents 41def27 + a06da8a commit 0e67e8e
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[run]
branch = True
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ dist/
DataSpecification.egg-info
/SpiNNaker_DataSpecification.egg-info/
.cache/
.coverage
9 changes: 7 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,16 @@ before_install:

install:
- pip install -r requirements-test.txt
- pip install python-coveralls
- python ./setup.py install
# C build checks
- make -C c_data_specification -f test.mk build-test
# TODO: ensure that the C data spec also builds with the embedded compiler

script:
# Tests
- py.test unittests
- py.test integration_tests
- py.test unittests --cov data_specification
- py.test integration_tests --cov data_specification --cov-append
- make -C c_data_specification -f test.mk check
# Code quality check
- flake8 data_specification
Expand All @@ -42,3 +43,7 @@ script:
- sphinx-build -T -E -b html -d _build/doctrees-readthedocsdirhtml -D language=en . _build/html
- sphinx-build -T -b json -d _build/doctrees-json -D language=en . _build/json
- sphinx-build -T -b singlehtml -d _build/doctrees-readthedocssinglehtmllocalmedia -D language=en . _build/localmedia

after_success:
- cd $TRAVIS_BUILD_DIR
- coveralls
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[![Build Status](https://travis-ci.org/SpiNNakerManchester/DataSpecification.svg?branch=master)](https://travis-ci.org/SpiNNakerManchester/DataSpecification)
[![Coverage Status](https://coveralls.io/repos/github/SpiNNakerManchester/DataSpecification/badge.svg?branch=master)](https://coveralls.io/github/SpiNNakerManchester/DataSpecification?branch=master)

This package provides utilities for specifying binary data algorithmically,
and executing the specifications to produce the data.
Expand Down
2 changes: 2 additions & 0 deletions requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
-r requirements.txt
flake8
pytest>=2.8
pytest-cov
sphinx==1.5.3

0 comments on commit 0e67e8e

Please sign in to comment.