Skip to content

Commit 5822c8f

Browse files
committed
Run on travis ci
1 parent c513942 commit 5822c8f

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.travis.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
cache: pip
2+
dist: xenial
3+
install: pip install .[test]
4+
jobs:
5+
include:
6+
- install: pip install .[lint]
7+
python: 3.7
8+
script:
9+
- black --check --verbose *.py deslackify
10+
- flake8 --exclude=.eggs,build,docs
11+
stage: lint
12+
language: python
13+
python:
14+
- 3.7
15+
- 2.7
16+
script: pytest
17+
stages:
18+
- lint
19+
- test

0 commit comments

Comments
 (0)