.travis.yml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  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.0 > /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 cscope > /dev/null
  20. - cd ..
  21. # toxcore
  22. - git clone https://github.com/TokTok/c-toxcore.git
  23. - cd c-toxcore
  24. - cmake .
  25. - make -j3
  26. - sudo make install
  27. - sudo ldconfig
  28. - cd ..
  29. - sudo apt-get install cscope
  30. script:
  31. - cd tuntox
  32. - find .. -name Makefile
  33. - make tuntox_nostatic
  34. env:
  35. global:
  36. # The next declaration is the encrypted COVERITY_SCAN_TOKEN, created
  37. # via the "travis encrypt" command using the project repo's public key
  38. - 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="
  39. addons:
  40. coverity_scan:
  41. project:
  42. name: "gjedeer/tuntox"
  43. description: "Build submitted via Travis CI"
  44. notification_email: gdr@gdr.name
  45. # build_command_prepend: "make clean"
  46. build_command: "make"
  47. branch_pattern: master