Commit 7d6d0a7 1 parent 2b5941e commit 7d6d0a7 Copy full SHA for 7d6d0a7
File tree 4 files changed +38
-25
lines changed
4 files changed +38
-25
lines changed Original file line number Diff line number Diff line change 1
1
# https://travis-ci.org/jazzband/django-push-notifications
2
2
sudo : false
3
3
language : python
4
- python : " 3.7"
4
+ python :
5
+ - 2.7
6
+ - 3.6
7
+ - 3.7
8
+ cache : pip
5
9
dist : xenial
6
-
7
- env :
8
- - TOXENV=py27-django111
9
- - TOXENV=py37-django111
10
- - TOXENV=py37-django20
11
- - TOXENV=py37-django22
12
- - TOXENV=flake8
13
-
14
- cache :
15
- directories :
16
- - $HOME/.cache/pip
17
- - $TRAVIS_BUILD_DIR/.tox
18
-
19
- install :
20
- - pip install tox
21
-
22
- script :
23
- - tox
24
-
10
+ install : travis_retry pip install tox-travis
11
+ script : tox
12
+ stages :
13
+ - test
14
+ - name : deploy
15
+ if : repo = jazzband/django-push-notifications AND tag IS present
16
+ jobs :
17
+ include :
18
+ - stage : test
19
+ - stage : deploy
20
+ install : skip
21
+ script : skip
22
+ python : 3.7
23
+ env : skip
24
+ deploy :
25
+ provider : pypi
26
+ user : jazzband
27
+ server : https://jazzband.co/projects/django-push-notifications/upload
28
+ distributions : sdist bdist_wheel
29
+ password :
30
+ secure : ICRZGeqLWsqEtg9Iz62SHGOktUQEN+8h4wp0RKJJhcPIj59aKJNV+ET1wM+Xsh6OgpX2Ddy2AF7vD7pDP8kbWyCVyQNeK2/Ejo9SC7tVaVUIf5VAFXmkMymlAwUc6lKYrLW2Ls4PEqvSKikHcHp20pna6jJvg0Msa11j/KYP9eM=
31
+ on :
32
+ tags : true
33
+ repo : jazzband/django-push-notifications
25
34
notifications :
26
35
email :
27
36
on_failure : always
Original file line number Diff line number Diff line change 10
10
* BUGFIX: Fix ` Push failed: 403 fobidden ` error when sending message to Chrome WebPushDevice
11
11
12
12
13
+ ## 1.6.1 (2019-08-16)
14
+ * Pin dependency to apns to <0.6.0 to fix a Python version
15
+ incompatibility.
16
+ * Add configuration for semi-automatic releases via Jazzband.
17
+
13
18
## 1.6.0 (2018-01-31)
14
19
* BACKWARDS-INCOMPATIBLE: Drop support for Django < 1.11
15
20
* DJANGO: Support Django 2.0
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ classifiers =
27
27
[options]
28
28
packages = find:
29
29
install_requires =
30
- apns2>=0.3.0
30
+ apns2>=0.3.0,<0.6.0
31
31
pywebpush>=1.3.0
32
32
Django>=1.11
33
33
Original file line number Diff line number Diff line change 2
2
envlist =
3
3
py27-django111
4
4
py37-django{111,20,22}
5
- flake8
5
+ py37- flake8
6
6
7
7
[testenv]
8
8
setenv =
@@ -18,10 +18,9 @@ deps =
18
18
django111: Django>=1.11,<2.0
19
19
django20: Django>=2.0,<2.1
20
20
django22: Django>=2.2
21
- apns2>=0.3.0
22
21
23
- [testenv:flake8]
24
- commands = flake8
22
+ [testenv:py37- flake8]
23
+ commands = flake8 --exit-zero
25
24
deps =
26
25
flake8 ==3.5.0
27
26
flake8-isort
You can’t perform that action at this time.
0 commit comments