.travis.yml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. language: c
  2. before_script:
  3. #installing libsodium, needed for Core
  4. - git clone git://github.com/jedisct1/libsodium.git > /dev/null
  5. - cd libsodium
  6. - git checkout tags/1.0.0 > /dev/null
  7. - ./autogen.sh > /dev/null
  8. - ./configure > /dev/null
  9. - make check -j3 > /dev/null
  10. - sudo make install >/dev/null
  11. - cd ..
  12. #installing yasm, needed for compiling vpx
  13. - sudo apt-get install yasm > /dev/null
  14. #installing libconfig, needed for DHT_bootstrap_daemon
  15. - wget http://www.hyperrealm.com/libconfig/libconfig-1.4.9.tar.gz > /dev/null
  16. - tar -xvzf libconfig-1.4.9.tar.gz > /dev/null
  17. - cd libconfig-1.4.9
  18. - ./configure > /dev/null
  19. - make -j3 > /dev/null
  20. - sudo make install > /dev/null
  21. - cd ..
  22. #installing libopus, needed for audio encoding/decoding
  23. - wget http://downloads.xiph.org/releases/opus/opus-1.0.3.tar.gz > /dev/null
  24. - tar xzf opus-1.0.3.tar.gz > /dev/null
  25. - cd opus-1.0.3
  26. - ./configure > /dev/null
  27. - make -j3 > /dev/null
  28. - sudo make install > /dev/null
  29. - cd ..
  30. #installing vpx
  31. - git clone https://chromium.googlesource.com/webm/libvpx > /dev/null
  32. - cd libvpx
  33. - ./configure --enable-shared > /dev/null
  34. - make -j3 >/dev/null
  35. - sudo make install > /dev/null
  36. - cd ..
  37. #creating libraries links and updating cache
  38. - sudo ldconfig > /dev/null
  39. #installing check, needed for unit tests
  40. - sudo apt-get install check > /dev/null
  41. - cd ..
  42. # toxcore
  43. - git clone https://github.com/irungentoo/toxcore.git
  44. - cd toxcore
  45. - autoreconf -i
  46. - CFLAGS="-Ofast -Wall -Wextra" ./configure --enable-daemon --enable-ntox
  47. - make -j3
  48. - sudo make install
  49. - cd ..
  50. - sudo apt-get install cscope
  51. script:
  52. - cd tuntox
  53. - find .. -name Makefile
  54. - make