File tree 5 files changed +76
-64
lines changed
5 files changed +76
-64
lines changed Original file line number Diff line number Diff line change
1
+ version : 2.1
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
+ jobs :
18
+ tests :
19
+ << : *default
20
+ docker :
21
+ - image : ' cimg/python:3.6'
22
+ environment :
23
+ TOXENV : py36,codecov
24
+ TOX_POSARGS : ' '
25
+ - image : ' docker.elastic.co/elasticsearch/elasticsearch:6.8.12'
26
+ 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
58
+ docker :
59
+ - image : ' cimg/python:3.6'
60
+ environment :
61
+ TOXENV : eslint
62
+ NODE_VERSION : 10.17.0
63
+
64
+ workflows :
65
+ version : 2
66
+ test :
67
+ jobs :
68
+ - lint
69
+ - migrations
70
+ - docs
71
+ - docs-lint
72
+ - eslint
73
+ - tests
Load Diff This file was deleted.
File renamed without changes.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -3,10 +3,6 @@ minversion=2.9.0
3
3
envlist = py36,lint,docs
4
4
skipsdist = True
5
5
6
- [travis]
7
- python =
8
- 3.6: py36, codecov
9
-
10
6
[testenv]
11
7
description = run test suite for the application with {basepython}
12
8
setenv =
@@ -69,7 +65,9 @@ commands =
69
65
--die-on-tool-error {posargs}
70
66
71
67
[testenv:eslint]
72
- whitelist_externals = npm
68
+ whitelist_externals =
69
+ npm
70
+ echo
73
71
description = run the JavaScript linter (requires `npm install`)
74
72
commands =
75
73
npm run lint
You can’t perform that action at this time.
0 commit comments