mirror of
https://github.com/Hopiu/django-modeltranslation.git
synced 2026-05-20 02:11:54 +00:00
build(ci): Update travis.yml
This commit is contained in:
parent
5b0645d718
commit
49e89c840c
2 changed files with 5 additions and 31 deletions
34
.travis.yml
34
.travis.yml
|
|
@ -4,42 +4,16 @@ services:
|
|||
- mysql
|
||||
- postgresql
|
||||
python:
|
||||
- "2.7"
|
||||
- "3.6"
|
||||
- "3.7"
|
||||
- "3.8"
|
||||
env:
|
||||
- DJANGO=1.11 DB=sqlite
|
||||
- DJANGO=1.11 DB=postgres
|
||||
- DJANGO=1.11 DB=mysql
|
||||
- DJANGO=2.1 DB=sqlite
|
||||
- DJANGO=2.1 DB=postgres
|
||||
- DJANGO=2.1 DB=mysql
|
||||
- DJANGO=2.2 DB=sqlite
|
||||
- DJANGO=2.2 DB=postgres
|
||||
- DJANGO=2.2 DB=mysql
|
||||
- DJANGO=3.0a1 DB=sqlite
|
||||
- DJANGO=3.0a1 DB=postgres
|
||||
- DJANGO=3.0a1 DB=mysql
|
||||
matrix:
|
||||
exclude:
|
||||
- python: "2.7"
|
||||
env: DJANGO=3.0a1 DB=sqlite
|
||||
- python: "2.7"
|
||||
env: DJANGO=3.0a1 DB=mysql
|
||||
- python: "2.7"
|
||||
env: DJANGO=3.0a1 DB=postgres
|
||||
- python: "2.7"
|
||||
env: DJANGO=2.2 DB=sqlite
|
||||
- python: "2.7"
|
||||
env: DJANGO=2.2 DB=mysql
|
||||
- python: "2.7"
|
||||
env: DJANGO=2.2 DB=postgres
|
||||
- python: "2.7"
|
||||
env: DJANGO=2.1 DB=sqlite
|
||||
- python: "2.7"
|
||||
env: DJANGO=2.1 DB=mysql
|
||||
- python: "2.7"
|
||||
env: DJANGO=2.1 DB=postgres
|
||||
- DJANGO=3.0 DB=sqlite
|
||||
- DJANGO=3.0 DB=postgres
|
||||
- DJANGO=3.0 DB=mysql
|
||||
before_install:
|
||||
- pip install -q 'flake8<3'
|
||||
- PYFLAKES_NODOCTEST=1 flake8 modeltranslation
|
||||
|
|
|
|||
2
setup.py
2
setup.py
|
|
@ -25,7 +25,7 @@ setup(
|
|||
'modeltranslation.management.commands'],
|
||||
package_data={'modeltranslation': ['static/modeltranslation/css/*.css',
|
||||
'static/modeltranslation/js/*.js']},
|
||||
install_requires=['Django>=1.11', 'six'],
|
||||
install_requires=['Django>=2.2', 'six'],
|
||||
download_url='https://github.com/deschler/django-modeltranslation/archive/%s.tar.gz' % version,
|
||||
classifiers=[
|
||||
'Programming Language :: Python',
|
||||
|
|
|
|||
Loading…
Reference in a new issue