File tree Expand file tree Collapse file tree 1 file changed +22
-17
lines changed
Expand file tree Collapse file tree 1 file changed +22
-17
lines changed Original file line number Diff line number Diff line change 1- # Use a container-based environment
2- sudo : false
1+ dist : xenial
2+ os : linux
33
44language : python
55
@@ -14,12 +14,23 @@ jobs:
1414 - language : python
1515 python : 3.6
1616 name : " linting"
17- script :
18- - tox -e lint
19-
20- env :
21- - MONGOENGINE=latest_pip
22- - MONGOENGINE=dev
17+ env : TOXENV=lint
18+ - language : python
19+ python : 3.6
20+ name : " Test on python 3.6"
21+ env : TOXENV=py36
22+ - language : python
23+ python : 3.7
24+ name : " Test on python 3.7"
25+ env : TOXENV=py37
26+ - language : python
27+ python : 3.8
28+ name : " Test on python 3.8"
29+ env : TOXENV=py38
30+ - language : python
31+ python : pypy3
32+ name : " Test on python pypy3"
33+ env : TOXENV=pypy3
2334
2435services :
2536 - mongodb
@@ -31,11 +42,8 @@ install:
3142 - travis_retry pip install tox>=3.14
3243 - travis_retry pip install virtualenv
3344
34- # Cache dependencies installed via pip
35- cache : pip
36-
3745script :
38- - tox -e $(echo py$TRAVIS_PYTHON_VERSION-me_$MONGOENGINE | tr -d . | sed -e 's/pypypy/pypy/') -- --with-coverage
46+ - tox
3947
4048after_success :
4149 - coveralls --verbose
@@ -60,11 +68,8 @@ deploy:
6068 distributions : " sdist bdist_wheel"
6169
6270 # only deploy on tagged commits (aka GitHub releases) and only for the
63- # parent repo's builds running Python 2.7 along with dev MongoEngine (we run
64- # Travis against many different Python and MongoEngine versions and we don't
65- # want the deploy to occur multiple times).
71+ # parent repo's builds running Python 3.6
6672 on :
6773 tags : true
68- condition : " $MONGOENGINE = dev"
69- python : 3.5
74+ python : 3.6
7075 repo : MongoEngine/flask-mongoengine
You can’t perform that action at this time.
0 commit comments