Ansgar Burchardt pushed to branch master at Debian FTP Team / dak
Commits:
-
82d4b160
by Chris Lamb at 2018-05-08T21:44:03+02:00
-
235f2cf9
by Bastian Blank at 2018-05-08T21:50:35+02:00
-
881aa064
by Ansgar Burchardt at 2018-05-08T21:59:44+02:00
-
ed467e07
by Ansgar Burchardt at 2018-05-08T22:06:31+02:00
3 changed files:
Changes:
1 |
+---
|
|
2 |
+test stretch:
|
|
3 |
+ image: debian:stretch
|
|
4 |
+ script: debian/run-ci
|
|
5 |
+ |
|
6 |
+test buster:
|
|
7 |
+ image: debian:buster
|
|
8 |
+ script: debian/run-ci
|
|
9 |
+ |
|
10 |
+flake8:
|
|
11 |
+ image: debian:9
|
|
12 |
+ script:
|
|
13 |
+ - apt-get update
|
|
14 |
+ - apt-get install -y flake8
|
|
15 |
+ - flake8
|
|
16 |
+ allow_failure: true
|
1 |
+#! /bin/bash
|
|
2 |
+#
|
|
3 |
+# © 2018 Ansgar Burchardt <ansgar@debian.org>
|
|
4 |
+# License: GPL-2+
|
|
5 |
+#
|
|
6 |
+# This program is free software; you can redistribute it and/or modify
|
|
7 |
+# it under the terms of the GNU General Public License as published by
|
|
8 |
+# the Free Software Foundation; either version 2 of the License, or
|
|
9 |
+# (at your option) any later version.
|
|
10 |
+#
|
|
11 |
+# This program is distributed in the hope that it will be useful,
|
|
12 |
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
13 |
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
14 |
+# GNU General Public License for more details.
|
|
15 |
+#
|
|
16 |
+# You should have received a copy of the GNU General Public License
|
|
17 |
+# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
18 |
+ |
|
19 |
+set -eu
|
|
20 |
+ |
|
21 |
+if [ ! -f dak/dak.py ]; then
|
|
22 |
+ echo >&2 "E: run-ci must be invoked in the root directory of dak"
|
|
23 |
+ exit 1
|
|
24 |
+fi
|
|
25 |
+ |
|
26 |
+apt-get update
|
|
27 |
+apt-get install -y build-essential
|
|
28 |
+apt-get build-dep -y .
|
|
29 |
+dpkg-buildpackage -b
|
1 |
+[flake8]
|
|
2 |
+ignore =
|
|
3 |
+ # continuation line missing indentation or outdented
|
|
4 |
+ E122,
|
|
5 |
+ # expected 2 blank lines
|
|
6 |
+ E302,
|
|
7 |
+ # line too long
|
|
8 |
+ E501,
|