.travis.yml 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. script:
  2. - make -j2
  3. - cpack -C Debug
  4. compiler:
  5. - gcc
  6. env:
  7. matrix:
  8. secure: nc4k28vUUeFeqfXdqquyLPErFqtx0tSfotGFArvrSJ0gsiXucoBNNqmbHkMDjyHvBsDXhSJ3TSxIL0xeyKspu3hMR7XIFItxrnCtI5DbmiyUdL3JDOPZlUx9pgMW9r8RqbTHIHl4E6DFskhd2lMay6nKsN5Cls6uhhNvD3h+GHA=
  9. before_install:
  10. - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
  11. - sudo add-apt-repository ppa:boost-latest/ppa -y
  12. - sudo apt-get update
  13. - sudo apt-get install boost1.55
  14. - sudo apt-get install gcc-4.9
  15. - sudo apt-get install g++-4.9
  16. - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 20
  17. - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.9 20
  18. - sudo update-alternatives --config gcc
  19. - sudo update-alternatives --config g++
  20. - sudo apt-get install libvorbis-dev
  21. - sudo apt-get install libalut-dev
  22. - sudo apt-get install libfreetype6-dev
  23. - sudo apt-get install libfreeimage-dev
  24. - sudo apt-get install zlib1g-dev
  25. - sudo apt-get install libzzip-dev
  26. - sudo apt-get install libois-dev
  27. - sudo apt-get install libglu-dev
  28. - wget https://github.com/paulsapps/Ogre1.9/releases/download/1.9.0/ogre-build_1.9.0-1_amd64.deb
  29. - sudo dpkg -i ogre-build_1.9.0-1_amd64.deb
  30. notifications:
  31. on_success: change
  32. on_failure: always
  33. irc: irc.esper.net#qhimm.com
  34. before_script:
  35. - mkdir build_qgears
  36. - cd build_qgears
  37. - cmake ..
  38. after_success:
  39. - hash=`git rev-parse HEAD`
  40. - ls ~ -all
  41. - mkdir ~/.ssh
  42. - ls ~/.ssh -all
  43. - cat $KEY > ~/.ssh/id_rsa
  44. - ls ~/.ssh -all
  45. - chmod 600 ~/.ssh/id_rsa
  46. - chmod 755 ~/.ssh
  47. - ssh -o StrictHostKeyChecking=no paul@itscovarr.com mkdir -p /var/www/storage/qgears/$hash/linux/
  48. - scp -o StrictHostKeyChecking=no ~/build/*.deb paul@itscovarr.com:/var/www/storage/qgears/$hash/linux/
  49. language: cpp