Skip to content

Commit

Permalink
add ci config
Browse files Browse the repository at this point in the history
  • Loading branch information
edaniszewski committed Mar 8, 2018
1 parent 2899d78 commit 19d522b
Show file tree
Hide file tree
Showing 5 changed files with 71 additions and 2 deletions.
17 changes: 17 additions & 0 deletions .travis.yml
@@ -0,0 +1,17 @@
language: python
python:
- "3.4"
- "3.5"
- "3.6"

# install dependencies
install: "make"

# run tests and linting
script:
- pip install pipenv --upgrade
- make init
- make ci

after_success:
- coveralls
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -20,7 +20,7 @@ test: ## Run the bison unit tests
pipenv run py.test

.PHONY: ci
ci: test lint ## Run the ci pipeline (test, lint)
ci: coverage lint ## Run the ci pipeline (test w/ coverage, lint)

.PHONY: lint
lint: requires-pipenv ## Run static analysis / linting on bison
Expand Down
1 change: 1 addition & 0 deletions Pipfile
Expand Up @@ -12,6 +12,7 @@ name = "pypi"
"isort" = "*"
"flake8" = "*"
"tox" = "*"
"coveralls" = "*"

[packages]

Expand Down
51 changes: 50 additions & 1 deletion Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions README.md
@@ -1,4 +1,6 @@
<p align="center">
<a href="https://travis-ci.org/edaniszewski/bison"><img src="https://travis-ci.org/edaniszewski/bison.svg?branch=master" /></a>
<a href='https://coveralls.io/github/edaniszewski/bison'><img src='https://coveralls.io/repos/github/edaniszewski/bison/badge.svg' /></a>
<a href="https://pypi.python.org/pypi/bison"><img src="https://img.shields.io/pypi/v/bison.svg"></a>
<a href="LICENSE"><img src="https://img.shields.io/github/license/edaniszewski/bison.svg"></a>
Expand Down

0 comments on commit 19d522b

Please sign in to comment.