File tree Expand file tree Collapse file tree 2 files changed +39
-30
lines changed Expand file tree Collapse file tree 2 files changed +39
-30
lines changed Original file line number Diff line number Diff line change 1
1
language : python
2
- matrix :
3
- include :
4
- - env : TOXENV=py27
5
- python : 2.7
6
- - env : TOXENV=py35
7
- python : 3.5
8
- - env : TOXENV=py36
9
- python : 3.6
10
- - env : TOXENV=py37
11
- python : 3.7
12
- dist : xenial
13
- sudo : true
14
- - env : TOXENV=pypy
15
- python : pypy-5.7.1
16
- - env : TOXENV=pre-commit
17
- python : 3.6
18
- - env : TOXENV=mypy
19
- python : 3.6
2
+ dist : xenial
3
+
4
+ python :
5
+ - " 2.7"
6
+ - " 3.5"
7
+ - " 3.6"
8
+ - " 3.7"
9
+ - " pypy3"
10
+
20
11
install :
21
- - pip install coveralls tox
12
+ - pip install tox tox-travis
22
13
script : tox
23
- after_success : coveralls
14
+ after_success :
15
+ - pip install coveralls
16
+ - coveralls
24
17
cache :
25
18
directories :
26
19
- $HOME/.cache/pip
27
20
- $HOME/.cache/pre-commit
28
- deploy :
29
- provider : pypi
30
- user : syrusakbary
31
- on :
32
- tags : true
33
- password :
34
- secure : LHOp9DvYR+70vj4YVY8+JRNCKUOfYZREEUY3+4lMUpY7Zy5QwDfgEMXG64ybREH9dFldpUqVXRj53eeU3spfudSfh8NHkgqW7qihez2AhSnRc4dK6ooNfB+kLcSoJ4nUFGxdYImABc4V1hJvflGaUkTwDNYVxJF938bPaO797IvSbuI86llwqkvuK2Vegv9q/fy9sVGaF9VZIs4JgXwR5AyDR7FBArl+S84vWww4vTFD33hoE88VR4QvFY3/71BwRtQrnCMm7AOm31P9u29yi3bpzQpiOR2rHsgrsYdm597QzFKVxYwsmf9uAx2bpbSPy2WibunLePIvOFwm8xcfwnz4/J4ONBc5PSFmUytTWpzEnxb0bfUNLuYloIS24V6OZ8BfAhiYZ1AwySeJCQDM4Vk1V8IF6trTtyx5EW/uV9jsHCZ3LFsAD7UnFRTosIgN3SAK3ZWCEk5oF2IvjecsolEfkRXB3q9EjMkkuXRUeFDH2lWJLgNE27BzY6myvZVzPmfwZUsPBlPD/6w+WLSp97Rjgr9zS3T1d4ddqFM4ZYu04f2i7a/UUQqG+itzzuX5DWLPvzuNt37JB45mB9IsvxPyXZ6SkAcLl48NGyKok1f3vQnvphkfkl4lni29woKhaau8xlsuEDrcwOoeAsVcZXiItg+l+z2SlIwM0A06EvQ=
35
- distributions : " sdist bdist_wheel"
21
+
22
+ stages :
23
+ - test
24
+ - name : deploy
25
+ if : tag IS present
26
+
27
+ jobs :
28
+ fast_finish : true
29
+ include :
30
+ - env : TOXENV=pre-commit
31
+ python : 3.7
32
+ - env : TOXENV=mypy
33
+ python : 3.7
34
+ - stage : deploy
35
+ python : 3.7
36
+ after_success : true
37
+ deploy :
38
+ provider : pypi
39
+ user : syrusakbary
40
+ on :
41
+ tags : true
42
+ password :
43
+ secure : LHOp9DvYR+70vj4YVY8+JRNCKUOfYZREEUY3+4lMUpY7Zy5QwDfgEMXG64ybREH9dFldpUqVXRj53eeU3spfudSfh8NHkgqW7qihez2AhSnRc4dK6ooNfB+kLcSoJ4nUFGxdYImABc4V1hJvflGaUkTwDNYVxJF938bPaO797IvSbuI86llwqkvuK2Vegv9q/fy9sVGaF9VZIs4JgXwR5AyDR7FBArl+S84vWww4vTFD33hoE88VR4QvFY3/71BwRtQrnCMm7AOm31P9u29yi3bpzQpiOR2rHsgrsYdm597QzFKVxYwsmf9uAx2bpbSPy2WibunLePIvOFwm8xcfwnz4/J4ONBc5PSFmUytTWpzEnxb0bfUNLuYloIS24V6OZ8BfAhiYZ1AwySeJCQDM4Vk1V8IF6trTtyx5EW/uV9jsHCZ3LFsAD7UnFRTosIgN3SAK3ZWCEk5oF2IvjecsolEfkRXB3q9EjMkkuXRUeFDH2lWJLgNE27BzY6myvZVzPmfwZUsPBlPD/6w+WLSp97Rjgr9zS3T1d4ddqFM4ZYu04f2i7a/UUQqG+itzzuX5DWLPvzuNt37JB45mB9IsvxPyXZ6SkAcLl48NGyKok1f3vQnvphkfkl4lni29woKhaau8xlsuEDrcwOoeAsVcZXiItg+l+z2SlIwM0A06EvQ=
44
+ distributions : " sdist bdist_wheel"
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ commands =
14
14
py{36,37}: py.test --cov =graphene graphene examples tests_asyncio tests_py36 {posargs}
15
15
16
16
[testenv:pre-commit]
17
- basepython =python3.6
17
+ basepython =python3.7
18
18
deps =
19
19
pre-commit>0.12.0
20
20
setenv =
@@ -23,7 +23,7 @@ commands =
23
23
pre-commit {posargs:run --all-files}
24
24
25
25
[testenv:mypy]
26
- basepython =python3.6
26
+ basepython =python3.7
27
27
deps =
28
28
mypy
29
29
commands =
You can’t perform that action at this time.
0 commit comments