mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-22 17:47:08 +03:00
Enable hitch tests to be run in Travis CI.
This commit is contained in:
parent
18b1843481
commit
3f2484d75c
16
{{cookiecutter.repo_name}}/.travis.yml
Normal file
16
{{cookiecutter.repo_name}}/.travis.yml
Normal file
|
@ -0,0 +1,16 @@
|
|||
before_install:
|
||||
- sudo apt-get update -qq
|
||||
- sudo apt-get install -qq build-essential gettext python-dev zlib1g-dev libpq-dev xvfb
|
||||
- sudo apt-get install -qq libtiff4-dev libjpeg8-dev libfreetype6-dev liblcms1-dev libwebp-dev
|
||||
- sudo apt-get install -qq graphviz-dev python-setuptools python3-dev python-virtualenv python-pip
|
||||
- sudo apt-get install -qq firefox automake libtool libreadline6 libreadline6-dev libreadline-dev
|
||||
- sudo apt-get install -qq libsqlite3-dev libxml2 libxml2-dev libssl-dev libbz2-dev wget curl llvm
|
||||
language: python
|
||||
python:
|
||||
- "3.4"
|
||||
install:
|
||||
- "pip install hitch"
|
||||
- "cd tests"
|
||||
- "hitch init"
|
||||
script:
|
||||
- "hitch test . --extra '{\"xvfb\":true, \"pause_on_failure\":false}'"
|
|
@ -80,7 +80,8 @@ class ExecutionEngine(hitchtest.ExecutionEngine):
|
|||
)
|
||||
{% endif %}
|
||||
self.services['Firefox'] = hitchselenium.SeleniumService(
|
||||
xvfb=self.settings.get("quiet", False)
|
||||
xvfb=self.settings.get("quiet", False),
|
||||
no_libfaketime=True,
|
||||
)
|
||||
|
||||
# import hitchcron
|
||||
|
|
|
@ -6,9 +6,9 @@ hitchpostgres==0.6.1
|
|||
hitchpython==0.2
|
||||
hitchredis==0.4.1
|
||||
hitchselenium==0.3.1
|
||||
hitchserve==0.4.1
|
||||
hitchserve==0.4.2
|
||||
hitchsmtp==0.2.1
|
||||
hitchtest==0.6.8
|
||||
hitchtest==0.7
|
||||
humanize==0.5.1
|
||||
ipython==3.1.0
|
||||
Jinja2==2.7.3
|
||||
|
|
Loading…
Reference in New Issue
Block a user