Skip to content

Commit 75dc3a2

Browse files
committed
ci: Add travis ci script, and configure flake8
1 parent 482945c commit 75dc3a2

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

.travis.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
language: python
2+
python:
3+
- "3.5"
4+
- "pypy3"
5+
install:
6+
- pip install flake8
7+
- pip install -r requirements.txt
8+
script:
9+
- flake8 src/
10+
- sudo -E env "PATH=$PATH" pytest tests/* -v

setup.cfg

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[flake8]
2+
max-line-length = 100

0 commit comments

Comments
 (0)