Skip to content

Commit ef7a7ae

Browse files
delsimGibbsConsulting
authored andcommitted
Add travis-ci settings to build (#43)
* Added travis CI script * Updated travis CI file * Update settings and add redis to travis * Add caching of pip files
1 parent 5677c95 commit ef7a7ae

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

.travis.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Travis CI
2+
language: python
3+
4+
python:
5+
- "3.6"
6+
7+
cache:
8+
- pip
9+
10+
install:
11+
- pip install -r requirements.txt
12+
- pip install -r dev_requirements.txt
13+
- python setup.py develop
14+
15+
services:
16+
- redis-server
17+
18+
script:
19+
- pushd demo
20+
- pytest demo --cov=demo --cov=django_plotly_dash --cov-report term-missing

dev_requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ django-redis
77
grip
88
pandas
99
pylint
10-
pytest
10+
pytest>=3.6
1111
pytest-django
1212
pytest-cov
1313
pytz

0 commit comments

Comments
 (0)