Skip to content

Commit

Permalink
Add travis-ci settings to build (#43)
Browse files Browse the repository at this point in the history
* Added travis CI script

* Updated travis CI file

* Update settings and add redis to travis

* Add caching of pip files
  • Loading branch information
delsim authored and GibbsConsulting committed Sep 4, 2018
1 parent 5677c95 commit ef7a7ae
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Travis CI
language: python

python:
- "3.6"

cache:
- pip

install:
- pip install -r requirements.txt
- pip install -r dev_requirements.txt
- python setup.py develop

services:
- redis-server

script:
- pushd demo
- pytest demo --cov=demo --cov=django_plotly_dash --cov-report term-missing
2 changes: 1 addition & 1 deletion dev_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ django-redis
grip
pandas
pylint
pytest
pytest>=3.6
pytest-django
pytest-cov
pytz
Expand Down

0 comments on commit ef7a7ae

Please sign in to comment.