Skip to content

Commit 9f990ae

Browse files
committed
Setup package for CI
Add `.travis.yml` and `make ci` recipe for to enable CI testing.
1 parent 0e262df commit 9f990ae

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

.travis.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
sudo: false
2+
language: python
3+
python:
4+
- "2.7"
5+
- "3.5"
6+
- "3.6"
7+
install: "make init"
8+
script: "make ci"
9+
cache: pip

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ update : clean-venv init versioneer.py
2929
.PHONY : tests
3030
tests: toxtest lint ;
3131

32+
.PHONY : ci
33+
ci :
34+
pytest
35+
3236
.PHONY : toxtest
3337
toxtest : local/environment.sh tox.ini
3438
source local/environment.sh && tox

0 commit comments

Comments
 (0)