File tree 1 file changed +25
-53
lines changed
1 file changed +25
-53
lines changed Original file line number Diff line number Diff line change 1
1
version : 2.1
2
2
3
- default : &default
4
- steps :
5
- - checkout
6
- - run : git submodule sync
7
- - run : git submodule update --init
8
- - run : pip install --user tox
9
- - run : scripts/circle/install_node.sh
10
- - run :
11
- name : Add node to the path
12
- command : |
13
- echo 'export PATH=~/.nvm/versions/node/v${NODE_VERSION}/bin:$PATH' >> $BASH_ENV
14
- source $BASH_ENV
15
- - run : tox
16
-
17
3
jobs :
18
4
tests :
19
- << : *default
20
5
docker :
21
6
- image : ' cimg/python:3.6'
22
7
environment :
23
- TOXENV : py36,codecov
24
8
TOX_POSARGS : ' '
25
9
- image : ' docker.elastic.co/elasticsearch/elasticsearch:6.8.12'
26
10
name : search
27
-
28
- lint :
29
- << : *default
30
- docker :
31
- - image : ' cimg/python:3.6'
32
- environment :
33
- TOXENV : lint
34
-
35
- migrations :
36
- << : *default
37
- docker :
38
- - image : ' cimg/python:3.6'
39
- environment :
40
- TOXENV : migrations
41
-
42
- docs :
43
- << : *default
44
- docker :
45
- - image : ' cimg/python:3.6'
46
- environment :
47
- TOXENV : docs
48
-
49
- docs-lint :
50
- << : *default
51
- docker :
52
- - image : ' cimg/python:3.6'
53
- environment :
54
- TOXENV : docs-lint
55
-
56
- eslint :
57
- << : *default
11
+ steps :
12
+ - checkout
13
+ - run : git submodule sync
14
+ - run : git submodule update --init
15
+ - run : pip install --user tox
16
+ - run : tox -e py36,codecov
17
+
18
+ checks :
58
19
docker :
59
20
- image : ' cimg/python:3.6'
60
21
environment :
61
- TOXENV : eslint
62
22
NODE_VERSION : 10.17.0
23
+ steps :
24
+ - checkout
25
+ - run : git submodule sync
26
+ - run : git submodule update --init
27
+ - run : pip install --user tox
28
+ - run : scripts/circle/install_node.sh
29
+ - run :
30
+ name : Add node to the path
31
+ command : |
32
+ echo 'export PATH=~/.nvm/versions/node/v${NODE_VERSION}/bin:$PATH' >> $BASH_ENV
33
+ source $BASH_ENV
34
+ - run : tox -e migrations
35
+ - run : tox -e lint
36
+ - run : tox -e docs-lint
37
+ - run : tox -e docs
38
+ - run : tox -e eslint
63
39
64
40
workflows :
65
41
version : 2
66
42
test :
67
43
jobs :
68
- - lint
69
- - migrations
70
- - docs
71
- - docs-lint
72
- - eslint
44
+ - checks
73
45
- tests
You can’t perform that action at this time.
0 commit comments