-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
73 lines (63 loc) · 1.37 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
language: python
dist: bionic
os: linux
python:
- "2.7"
- "3.5"
- "3.8"
compiler:
- gcc
cache:
apt: true
git:
depth: 3
branches:
only:
- gui-plugin
install:
- pip install flake8
jobs:
include:
- name: "GNU Compiler Collection 7"
env: CC=gcc-7 CXX=g++-7
addons:
apt:
sources: &sources
- ubuntu-toolchain-r-test
packages:
- g++-7
- name: "GNU Compiler Collection 8"
env: CC=gcc-8 CXX=g++-8
addons:
apt:
sources: *sources
packages:
- g++-8
- name: "GNU Compiler Collection 9"
env: CC=gcc-9 CXX=g++-9
addons:
apt:
sources: *sources
packages:
- g++-9
- name: "GNU Compiler Collection 10"
env: CC=gcc-10 CXX=g++-10
addons:
apt:
sources: *sources
packages:
- g++-10
script:
- flake8 --version
- export CXXFLAGS="-g -Wall"
- export CFLAGS="-g -Wall"
- export STRIP="strip"
- make
- python -m compileall -l enigma2/python
- find . -type f -name "*.po" -exec msgfmt {} -o {}.mo \;
- flake8 --ignore=W191,E128,E501,E722 . --exit-zero
# PEP8 :- IGNORE CODES
# W191 : indentation contains tabs
# E128 : continuation line under-indented for visual indent
# E501 : line too long (> 79 characters)
# E722 : do not use bare 'except'