Open Source Tomb Raider Engine
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

travis_after_success_linux.sh 873B

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