-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #49 from ninezerozeronine/develop
Adding tox and coverage
- Loading branch information
Showing
390 changed files
with
112 additions
and
43,545 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
sphinx_docs/_build | ||
docs/_build | ||
*.pyc | ||
src/python/.pytest_cache | ||
src/python/.coverage | ||
src/python/cov_html | ||
build | ||
dist | ||
src/*.egg-info | ||
.tox | ||
.coverage | ||
htmlcov | ||
*__pycache__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
language: python | ||
|
||
python: | ||
- "2.7" | ||
|
||
install: | ||
- pip install tox-travis | ||
- pip install coverage | ||
- pip install coveralls | ||
|
||
script: | ||
- tox -e travis |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,47 @@ | ||
# 8 bit Computer | ||
|
||
This is a project to make a basic but fully functional 8 bit computer | ||
using 7400 series ICs. | ||
[![Documentation Status](https://readthedocs.org/projects/eight-bit-computer/badge/?version=master)](https://eight-bit-computer.readthedocs.io/en/master/?badge=master) | ||
|
||
The full docs can be found on the GitHub Pages pages for this | ||
project: https://ninezerozeronine.github.io/eight_bit_computer/ | ||
[![Coverage Status](https://coveralls.io/repos/github/ninezerozeronine/eight-bit-computer/badge.svg?branch=master)](https://coveralls.io/github/ninezerozeronine/eight-bit-computer?branch=master) | ||
|
||
# License | ||
This is a project to make a basic but fully functional 8 bit computer | ||
using 7400 series ICs. | ||
|
||
The content of this project itself is licensed under the [Creative Commons Attribution 3.0 license](http://creativecommons.org/licenses/by/3.0/us/deed.en_US), | ||
and any code used is licensed under the [MIT license](http://opensource.org/licenses/mit-license.php). | ||
The full docs can be found on the Read the Docs: https://eight-bit-computer.readthedocs.io/ | ||
|
||
# Docs | ||
|
||
To build the docs on mac run: | ||
|
||
sphinx-apidoc --force --separate --no-toc -o software/source/ ../src/python/eight_bit_computer/ | ||
make clean | ||
make html | ||
|
||
in `sphinx_docs`. | ||
in `docs`. | ||
|
||
To build the docs in windows run: | ||
|
||
sphinx-apidoc --force --separate --no-toc -o software/source/ ../src/python/eight_bit_computer/ | ||
sphinx-build.exe . _build | ||
|
||
in `sphinx_docs`. | ||
|
||
Then copy `sphinx_docs/_build/html/*` into `docs` so that github pages can see them. | ||
in `docs`. | ||
|
||
# Tests | ||
|
||
To run the tests, run: | ||
|
||
python -B -m pytest | ||
tox -e test | ||
|
||
in `src/python` | ||
in the root directory. | ||
|
||
To generate a coverage report run: | ||
|
||
python -B -m pytest --cov=eight_bit_computer --cov-report=html:cov_html tests | ||
tox -e cov | ||
|
||
in the root directory. | ||
|
||
# License | ||
|
||
The content of this project itself is licensed under the | ||
[Attribution-ShareAlike 4.0 International | ||
license](http://creativecommons.org/licenses/by-sa/4.0/), and any source code used | ||
in conjunction with the project is licensed under the [MIT | ||
license](http://opensource.org/licenses/mit-license.php). |
File renamed without changes.
File renamed without changes.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-77.8 KB
docs/.doctrees/software/source/eight_bit_computer.assembler.doctree
Binary file not shown.
Binary file removed
BIN
-27.8 KB
docs/.doctrees/software/source/eight_bit_computer.assembly_summary.doctree
Binary file not shown.
Binary file removed
BIN
-43.4 KB
docs/.doctrees/software/source/eight_bit_computer.assembly_validity.doctree
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-53.2 KB
docs/.doctrees/software/source/eight_bit_computer.data_structures.doctree
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-15.1 KB
docs/.doctrees/software/source/eight_bit_computer.exceptions.doctree
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-8.67 KB
docs/.doctrees/software/source/eight_bit_computer.language_defs.doctree
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-28.8 KB
docs/.doctrees/software/source/eight_bit_computer.number_utils.doctree
Binary file not shown.
Binary file removed
BIN
-42.3 KB
docs/.doctrees/software/source/eight_bit_computer.operation_utils.doctree
Binary file not shown.
Binary file removed
BIN
-27.4 KB
docs/.doctrees/software/source/eight_bit_computer.operations.copy_op.doctree
Binary file not shown.
Binary file removed
BIN
-9.04 KB
docs/.doctrees/software/source/eight_bit_computer.operations.doctree
Binary file not shown.
Binary file removed
BIN
-13.4 KB
docs/.doctrees/software/source/eight_bit_computer.operations.fetch.doctree
Binary file not shown.
Binary file removed
BIN
-32.7 KB
docs/.doctrees/software/source/eight_bit_computer.operations.load.doctree
Binary file not shown.
Binary file removed
BIN
-14.2 KB
docs/.doctrees/software/source/eight_bit_computer.operations.operation_template.doctree
Binary file not shown.
Binary file removed
BIN
-23.2 KB
docs/.doctrees/software/source/eight_bit_computer.operations.set_op.doctree
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-43.1 KB
docs/.doctrees/software/source/eight_bit_computer.token_utils.doctree
Binary file not shown.
Binary file not shown.
Empty file.
File renamed without changes.
257 changes: 0 additions & 257 deletions
257
docs/_downloads/4cd40d388b67c3f0809f4b3bd4d2124f/language_table.csv
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
463 changes: 0 additions & 463 deletions
463
docs/_modules/eight_bit_computer/assembly_validity.html
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.