Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: m-labs/nmigen-soc
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 8a54b574be3f
Choose a base ref
...
head repository: m-labs/nmigen-soc
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 161e1a8b966f
Choose a head ref
  • 1 commit
  • 4 files changed
  • 1 contributor

Commits on Oct 26, 2019

  1. Travis: set up CI builds and coverage.

    whitequark committed Oct 26, 2019
    Copy the full SHA
    161e1a8 View commit details
Showing with 31 additions and 1 deletion.
  1. +13 −0 .coveragerc
  2. +4 −0 .gitignore
  3. +13 −0 .travis.yml
  4. +1 −1 setup.py
13 changes: 13 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[run]
branch = True
include =
nmigen_soc/*
omit =
nmigen_soc/test/*
*/__init__.py

[report]
exclude_lines =
:nocov:
partial_branches =
:nobr:
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -3,6 +3,10 @@
/*.egg-info
/.eggs

# coverage
/.coverage
/htmlcov

# tests
*.vcd
*.gtkw
13 changes: 13 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
dist: xenial
language: python
python:
- "3.6"
- "3.7"
install:
- pip install coverage codecov
script:
- python setup.py develop
- coverage run -m unittest discover
- codecov
matrix:
fast_finish: true
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -23,7 +23,7 @@ def local_scheme(version):
#long_description="""TODO""",
license="BSD",
setup_requires=["setuptools_scm"],
install_requires=["nmigen", "nmigen-stdio"],
install_requires=["nmigen~=0.1.rc1", "nmigen-stdio"],
packages=find_packages(),
project_urls={
"Source Code": "https://github.com/m-labs/nmigen-soc",