瀏覽代碼

Try IRC notification again

Thomas Buck 10 年之前
父節點
當前提交
06b0136315
共有 2 個檔案被更改,包括 4 行新增12 行删除
  1. 0
    4
      TODO.md
  2. 4
    8
      cmake/travis_after_success_linux.sh

+ 0
- 4
TODO.md 查看文件

@@ -28,7 +28,3 @@
28 28
     * Need useful, always available image writer alternative for screenshots then
29 29
 * When cutscene rendering is working, use TR4/5 style menu?
30 30
 
31
-# Travis CI
32
-
33
-* Run resulting executable, upload screenshot, post link in IRC
34
-

+ 4
- 8
cmake/travis_after_success_linux.sh 查看文件

@@ -17,13 +17,9 @@ wget http://imgur.com/tools/imgurbash.sh
17 17
 chmod a+x ./imgurbash.sh
18 18
 ./imgurbash.sh screenshot.png > url
19 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
20
+export SHIC_SCRIPT=":j #OpenRaider; New Screenshot: $(url); :q"
27 21
 
28
-cat msg | nc chat.freenode.net 6667
22
+wget https://raw.githubusercontent.com/halhen/shic/master/shic
23
+chmod a+x ./shic
24
+./shic -h chat.freenode.net -p 6667 -n OR-Travis-Worker
29 25
 

Loading…
取消
儲存