-
Notifications
You must be signed in to change notification settings - Fork 292
Expand file tree
/
Copy pathconfig.yml
More file actions
61 lines (55 loc) · 1.32 KB
/
config.yml
File metadata and controls
61 lines (55 loc) · 1.32 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
version: 2
jobs:
python2-test:
docker:
- image: "python:2.7-stretch"
steps:
- checkout
- run: apt-get update
- run: apt-get install exuberant-ctags
- run: pip install -e .[all] .[test]
- run: py.test test/
- run: pylint pyls test
- run: pycodestyle pyls test
- run: pyflakes pyls test
python3-test:
docker:
- image: "python:3.4-stretch"
steps:
- checkout
- run: apt-get update
- run: apt-get install exuberant-ctags
- run: pip install -e .[all] .[test]
- run: py.test test/
lint:
docker:
- image: "python:2.7-stretch"
steps:
- checkout
- run: pip install -e .[all] .[test]
- run: pylint pyls test
- run: pycodestyle pyls test
- run: pyflakes pyls test
publish:
docker:
- image: "python:3.4-stretch"
steps:
- checkout
- run: ./scripts/circle/pypi.sh
workflows:
version: 2
build:
jobs:
- python2-test:
filters: { tags: { only: /.*/ } }
- python3-test:
filters: { tags: { only: /.*/ } }
- publish:
filters:
tags:
only: /[0-9]+(\.[0-9]+)+((-(beta|rc)[0-9]{1,2})(\.[0-9])?)?/
branches:
ignore: /.*/
requires:
- python2-test
- python3-test