mirror of
https://github.com/jazzband/django-dbtemplates.git
synced 2026-03-16 22:20:28 +00:00
Moved CI to Travis.
This commit is contained in:
parent
33c1197ad1
commit
45700c7e1c
4 changed files with 21 additions and 64 deletions
16
.travis.yml
Normal file
16
.travis.yml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
language: python
|
||||
python:
|
||||
# - "2.5"
|
||||
- "2.6"
|
||||
- "2.7"
|
||||
install:
|
||||
- pip install -q -r requirements/default.txt Django==$DJANGO --use-mirrors
|
||||
script:
|
||||
- django-admin.py jenkins
|
||||
branches:
|
||||
only:
|
||||
- develop
|
||||
env:
|
||||
- DJANGO=1.2.7
|
||||
- DJANGO=1.3.1
|
||||
- DJANGO=1.4
|
||||
|
|
@ -1,6 +1,8 @@
|
|||
django-dbtemplates
|
||||
==================
|
||||
|
||||
.. image:: https://secure.travis-ci.org/jezdez/django-dbtemplates.png?branch=develop
|
||||
|
||||
``dbtemplates`` is a Django app that consists of two parts:
|
||||
|
||||
1. It allows you to store templates in your database
|
||||
|
|
|
|||
3
requirements/default.txt
Normal file
3
requirements/default.txt
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
pep8
|
||||
pyflakes
|
||||
django-jenkins
|
||||
64
tox.ini
64
tox.ini
|
|
@ -1,64 +0,0 @@
|
|||
[testenv]
|
||||
downloadcache = {toxworkdir}/_download/
|
||||
setenv =
|
||||
DJANGO_SETTINGS_MODULE = dbtemplates.test_settings
|
||||
commands =
|
||||
{envbindir}/python {envbindir}/django-admin.py jenkins {posargs:dbtemplates}
|
||||
|
||||
[testenv:docs]
|
||||
basepython = python2.7
|
||||
deps =
|
||||
Sphinx==1.0.7
|
||||
Django==1.3.1
|
||||
commands =
|
||||
rm -rf docs/_build
|
||||
{envbindir}/sphinx-build -b html -d docs/_build/doctrees docs docs/_build/html
|
||||
|
||||
[testenv:py25-1.2.X]
|
||||
basepython = python2.5
|
||||
deps =
|
||||
django==1.2.5
|
||||
pep8
|
||||
pyflakes
|
||||
django-jenkins
|
||||
|
||||
[testenv:py26-1.2.X]
|
||||
basepython = python2.6
|
||||
deps =
|
||||
django==1.2.5
|
||||
pep8
|
||||
pyflakes
|
||||
django-jenkins
|
||||
|
||||
[testenv:py27-1.2.X]
|
||||
basepython = python2.7
|
||||
deps =
|
||||
django==1.2.5
|
||||
pep8
|
||||
pyflakes
|
||||
django-jenkins
|
||||
|
||||
|
||||
[testenv:py25]
|
||||
basepython = python2.5
|
||||
deps =
|
||||
django==1.3
|
||||
pep8
|
||||
pyflakes
|
||||
django-jenkins
|
||||
|
||||
[testenv:py26]
|
||||
basepython = python2.6
|
||||
deps =
|
||||
django==1.3
|
||||
pep8
|
||||
pyflakes
|
||||
django-jenkins
|
||||
|
||||
[testenv:py27]
|
||||
basepython = python2.7
|
||||
deps =
|
||||
django==1.3
|
||||
pep8
|
||||
pyflakes
|
||||
django-jenkins
|
||||
Loading…
Reference in a new issue