We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 598c1cb commit d889ed9Copy full SHA for d889ed9
.travis.yml
@@ -10,18 +10,33 @@ install:
10
stages:
11
- test
12
- moban
13
+ - lint
14
+
15
+.disable_global: &disable_global
16
+ before_install: false
17
+ install: true
18
+ before_script: false
19
+ after_success: false
20
+ after_failure: false
21
22
+.lint: &lint
23
+ <<: *disable_global
24
+ python: 3.6
25
+ stage: lint
26
+ install: pip install flake8
27
+ script: flake8
28
29
jobs:
30
include:
31
- stage: moban
32
script:
33
- make
34
- git diff --exit-code
35
+ - *lint
36
37
stage: test
38
39
40
- find templates/ -type f -name '*.jj2' -exec echo '{}' \;|sed -e "s/templates\//{%include \"/" -e "s/$/\" %}/" > test.file
41
- moban -c config/data.yml -t test.file -td templates .
42
- pytest
- - flake8
0 commit comments