-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
54 lines (46 loc) · 1.18 KB
/
.travis.yml
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
notifications:
email: false
jobs:
include:
- stage: python_check
language: python
python: 2.7
before_install:
- pip install pycodestyle
script:
- errors=`find . -name "*.py" -exec pycodestyle --ignore W503,W292 {} \; `
- |
if [ -z "$errors" ]; then
true
else
echo "$errors"
false
fi
- stage: python_check
language: python
python: 2.7
script:
- errors=`find . -name "*.py" -exec python -m py_compile {} \; 2>&1`
- |
if [ -z "$errors" ]; then
true
else
echo "$errors"
false
fi
- stage: README_checks
language: minimal
name: "Line length"
script: Tests/travis/README_long_lines.sh
- stage: README_checks
language: minimal
name: "Tabs"
script: Tests/travis/README_tabs.sh
- stage: README_checks
language: minimal
name: "Trailing spaces"
script: Tests/travis/README_trailing_spaces.sh
- stage: pyDKB_tests
language: python
python: 2.7
script: Tests/travis/pyDKB.sh