herkko 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/herkko/runner.rb +2 -0
- data/lib/herkko/travis.rb +10 -6
- data/lib/herkko/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c7f3fb18dc2f13db2b6b5bf56b72e0016defaf57
|
4
|
+
data.tar.gz: 86b0f423a79d54263196d422d905f6ab545a8dbb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca16f36e53e48e0a0f5aad9202665f6d6574350875fb6750e000a46bf788c168ee9c79248f37d2955f784ab13b77f906c7416b2e3532021843ff634f329881af
|
7
|
+
data.tar.gz: f6ddcdb8defbdcaa0b08af989506134ba5eb85b7c8c12ff046e9d00d4725e50cd899c3f239af932bbb4e25fe3b7ae423b3d40b3d82d6be7514f5aef175f99f80
|
data/lib/herkko/runner.rb
CHANGED
data/lib/herkko/travis.rb
CHANGED
@@ -9,13 +9,17 @@ module Herkko
|
|
9
9
|
Herkko.info "There was an error with checking Travis: #{status[1]}"
|
10
10
|
:red
|
11
11
|
else
|
12
|
-
|
13
|
-
|
14
|
-
:green
|
15
|
-
when /started/
|
16
|
-
:yellow
|
12
|
+
if status[0].strip.length == 0
|
13
|
+
:not_used
|
17
14
|
else
|
18
|
-
:
|
15
|
+
case status[0].split(":")[0]
|
16
|
+
when /passed/
|
17
|
+
:green
|
18
|
+
when /started/
|
19
|
+
:yellow
|
20
|
+
else
|
21
|
+
:red
|
22
|
+
end
|
19
23
|
end
|
20
24
|
end
|
21
25
|
else
|
data/lib/herkko/version.rb
CHANGED