Browse Source

IRC notification

Thomas Buck 10 years ago
parent
commit
26e6a30ac1
1 changed files with 11 additions and 1 deletions
  1. 11
    1
      cmake/travis_after_success_linux.sh

+ 11
- 1
cmake/travis_after_success_linux.sh View File

@@ -15,5 +15,15 @@ import -window root -display :99.0 screenshot.png
15 15
 
16 16
 wget http://imgur.com/tools/imgurbash.sh
17 17
 chmod a+x ./imgurbash.sh
18
-./imgurbash.sh screenshot.png
18
+./imgurbash.sh screenshot.png > url
19
+
20
+echo 'USER OR-Travis-Worker OR-Travis-Worker OR-Travis-Worker OR-Travis-Worker' > msg
21
+echo 'NICK OR-Travis-Worker' >> msg
22
+echo 'JOIN #OpenRaider' >> msg
23
+echo "PRIVMSG #OpenRaider Travis $CXX Worker has a screenshot:" >> msg
24
+echo -n "PRIVMSG #OpenRaider " >> msg
25
+cat url >> msg
26
+echo 'QUIT' >> msg
27
+
28
+cat msg | nc chat.freenode.net 6667
19 29
 

Loading…
Cancel
Save