diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..20eb731c --- /dev/null +++ b/.travis.yml @@ -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 diff --git a/dev_requirements.txt b/dev_requirements.txt index f8f111b2..b56ac370 100644 --- a/dev_requirements.txt +++ b/dev_requirements.txt @@ -7,7 +7,7 @@ django-redis grip pandas pylint -pytest +pytest>=3.6 pytest-django pytest-cov pytz