mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-27 20:14:02 +03:00
22 lines
801 B
YAML
22 lines
801 B
YAML
sudo: true
|
|
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:
|
|
{% if cookiecutter.use_python2 == 'n' -%}
|
|
- "3.5"
|
|
{% else %}
|
|
- "2.7"
|
|
{%- endif %}
|
|
install:
|
|
- "pip install hitch"
|
|
- "cd tests"
|
|
- "hitch init"
|
|
script:
|
|
- "hitch test . --extra '{\"xvfb\":true, \"pause_on_failure\":false}'"
|