Skip to content

Commit 0f30134

Browse files
committed
Integrate with Travis
1 parent c329c2b commit 0f30134

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

‎.travis.yml‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
language: python
2+
python:
3+
- "3.7"
4+
# command to install dependencies
5+
install:
6+
- make deps
7+
# command to run tests
8+
script:
9+
- make tests

‎Makefile‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,10 @@ ${ENV}:
1717
${SITE_PACKAGES}/pytest.py:
1818
@${IN_ENV} pip install pytest
1919

20+
deps: ${SITE_PACKAGES}/pytest.py
21+
2022
tests: ${ENV} ${SITE_PACKAGES}/pytest.py
2123
@${IN_ENV} pytest
2224

2325
clean:
24-
@rm -rf ${ENV} .env dist .pytest_cache
26+
@rm -rf ${ENV} .env .pytest_cache

0 commit comments

Comments
 (0)