.travis.yml 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. language: c
  2. sudo: required
  3. dist: trusty
  4. before_script:
  5. #installing libsodium, needed for Core
  6. - git clone git://github.com/jedisct1/libsodium.git > /dev/null
  7. - cd libsodium
  8. - git checkout tags/1.0.15 > /dev/null
  9. - ./autogen.sh > /dev/null
  10. - ./configure > /dev/null
  11. - make check -j3 > /dev/null
  12. - sudo make install >/dev/null
  13. - cd ..
  14. #installing yasm, needed for compiling vpx
  15. - sudo apt-get install yasm > /dev/null
  16. #creating libraries links and updating cache
  17. - sudo ldconfig > /dev/null
  18. #installing check, needed for unit tests
  19. - sudo apt-get install check cmake python-pip cscope libevent-dev libevent-pthreads-2.0
  20. - cd ..
  21. # toxcore
  22. - git clone https://github.com/TokTok/c-toxcore.git
  23. - cd c-toxcore
  24. - cmake . -DBUILD_TOXAV=OFF
  25. - make -j3
  26. - sudo make install
  27. - sudo ldconfig
  28. - cd ..
  29. - sudo apt-get install cscope python-jinja2 python-requests python-virtualenv
  30. - pushd .
  31. - sudo pip install jinja2 requests
  32. - virtualenv venv
  33. - venv/bin/pip install jinja2 requests
  34. - source venv/bin/activate
  35. script:
  36. - popd
  37. - cd tuntox
  38. - find .. -name Makefile
  39. - make tuntox_nostatic
  40. env:
  41. global:
  42. # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
  43. # via the "travis encrypt" command using the project repo's public key
  44. - secure: "VjQmHxt7StKi1XF45IaYei3/0GtpIjeCeySLCPyHYnSlTMYw1VWti9Pow2Vr7mses27KddWhgl54hYjukaqyNFklfz+cXuke+VSwLp/wKlC7hV+frsrodWCd35hvNDZV3Q49e1u0944Oz4ggiS1yX1+dlXZO/v6HINXouSJbbk/0UowW4T6vkD5x/Muq7ddf5J9qMr6XF7oGzZO/fHnWO4B+xILiWs3R6gk24B8IksHiHEDIsruGnbSx2OUvoYiyNOW9hVczf2DIMZVKhqWxCX7/dEs2E5K4+/pbGfww4JhbGUMtkkGk97a7Y8rdXhs1l+k5IbG9MoZ5MxcyE1t8DRJSiT8SI50AUzDZGpU7YKIRWFxj9hyIlxPuv9aL3AyhGDzHCLAUGCtV0LYWuXUKusfQ3YuWoc/Z+6I9tIDBUdGtPp8R+P7x2pHnq08PQecBgGh+KOj2rkJBv3jP5GTrH7OtjwdKQyggni+otL/0ydq9Cj67sbt2jerjlBWtI4Vg2jVbRwIT2jDcUCMwrL5kCkuXiSvywlvA/qLVIkAvLILdbIXFBUYh/N4z00YiiVhpbc3AkJaiuhDtese272nXPeYTw6qtQnZyoud3jQjWpGmsD7uYstbnRNYsmYWf4Nz2+XIJtAmqHBhRYuq50Q1ImPY2cJyo0yZ6tniSKCcqHRI="
  45. addons:
  46. coverity_scan:
  47. project:
  48. name: "gjedeer/tuntox"
  49. description: "Build submitted via Travis CI"
  50. notification_email: gdr@gdr.name
  51. build_command_prepend: "cd tuntox; make clean"
  52. build_command: "make"
  53. branch_pattern: master