Browse Source

Added imgur upload

Thomas Buck 10 years ago
parent
commit
ee0ab6b2e7
1 changed files with 4 additions and 6 deletions
  1. 4
    6
      cmake/travis_after_success_linux.sh

+ 4
- 6
cmake/travis_after_success_linux.sh View File

9
 echo "set datadir \"../../data\"" >> OpenRaider.ini
9
 echo "set datadir \"../../data\"" >> OpenRaider.ini
10
 echo "set font \"../../data/test.ttf\"" >> OpenRaider.ini
10
 echo "set font \"../../data/test.ttf\"" >> OpenRaider.ini
11
 
11
 
12
-set -o xtrace
13
-
14
 xvfb-run -n 99 -s "-screen 0 640x480x24" ./OpenRaider &
12
 xvfb-run -n 99 -s "-screen 0 640x480x24" ./OpenRaider &
15
-sleep 5 # Wait for OpenRaider to start
16
-
13
+sleep 10 # Wait for OpenRaider to start
17
 import -window root -display :99.0 screenshot.png
14
 import -window root -display :99.0 screenshot.png
18
 
15
 
19
-# Find a better way for this!
20
-ls -la
16
+wget http://imgur.com/tools/imgurbash.sh
17
+chmod a+x ./imgurbash.sh
18
+imgurbash.sh screenshot.png
21
 
19
 

Loading…
Cancel
Save