We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce60dbf commit 80b637cCopy full SHA for 80b637c
.travis.yml
@@ -0,0 +1,4 @@
1
+language: python
2
+python: "2.7"
3
+os: linux
4
+script: ./check
check
@@ -0,0 +1,29 @@
+#!/bin/sh
+
+if test $# -ne 0
+then
5
+ echo >&2 "Usage: $0"
6
+ exit 2
7
+fi
8
9
+if ! test -e config.py
10
11
+ echo >&2 "Creating dummy config.py..."
12
13
+ cat >config.py <<!
14
+slack_token = "invalid"
15
+user_renames = {}
16
+channel_max_players = {}
17
+!
18
19
20
+ec=0
21
22
+for f in *.spec.py
23
+do
24
+ if ! python "$f"
25
+ then ec=1
26
+ fi
27
+done
28
29
+exit $ec
0 commit comments