|
@@ -1,31 +0,0 @@
|
1
|
|
-#!/bin/bash
|
2
|
|
-
|
3
|
|
-cd build
|
4
|
|
-cd src
|
5
|
|
-
|
6
|
|
-echo "set basedir \".\"" > OpenRaider.ini
|
7
|
|
-echo "set pakdir \".\"" >> OpenRaider.ini
|
8
|
|
-echo "set audiodir \".\"" >> OpenRaider.ini
|
9
|
|
-echo "set datadir \"../../data\"" >> OpenRaider.ini
|
10
|
|
-echo "set font \"../../data/test.ttf\"" >> OpenRaider.ini
|
11
|
|
-
|
12
|
|
-xvfb-run -n 99 -s "-screen 0 1280x1024x24" ./OpenRaider &
|
13
|
|
-
|
14
|
|
-# Wait for OpenRaider to start
|
15
|
|
-wget http://imgur.com/tools/imgurbash.sh
|
16
|
|
-chmod a+x ./imgurbash.sh
|
17
|
|
-sleep 10
|
18
|
|
-
|
19
|
|
-import -window root -display :99.0 screenshot.png
|
20
|
|
-./imgurbash.sh screenshot.png > url
|
21
|
|
-(
|
22
|
|
- echo "NICK OR-$(echo -n $TRAVIS_OS_NAME)-$(echo -n $CC)"
|
23
|
|
- echo "USER OR-$(echo -n $TRAVIS_OS_NAME)-$(echo -n $CC) 9 \* :OR-$(echo -n $TRAVIS_OS_NAME)-$(echo -n $CC)"
|
24
|
|
- sleep 5
|
25
|
|
- echo "JOIN #OpenRaider"
|
26
|
|
- sleep 5
|
27
|
|
- echo "PRIVMSG #OpenRaider :New Screenshot $(cat url | head -n 1)"
|
28
|
|
- sleep 5
|
29
|
|
- echo QUIT
|
30
|
|
-) | nc chat.freenode.net 6667
|
31
|
|
-
|