.travis.yml 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. language: cpp
  2. compiler:
  3. - gcc
  4. before_install:
  5. - sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
  6. - sudo apt-get update
  7. - sudo apt-get install valgrind python-yaml libyaml-dev build-essential libssh2-1-dev libarchive-dev clang
  8. - sudo apt-get install gcc-4.9 g++-4.9
  9. - sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.9 20
  10. - sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.9 20
  11. - sudo update-alternatives --install /usr/bin/gcov gcov /usr/bin/gcov-4.9 20
  12. - sudo update-alternatives --config gcc
  13. - sudo update-alternatives --config g++
  14. - sudo update-alternatives --config gcov
  15. - sudo pip install cpp-coveralls
  16. script:
  17. - make
  18. - tar cvf include.tar.gz include/
  19. - make tests
  20. after_script:
  21. - gcov yabs.gcda
  22. - coveralls --exclude include
  23. - make clean
  24. - qmake-qt4 "CONFIG+=clang"
  25. - make
  26. notifications:
  27. email:
  28. recipients:
  29. - albcoron@gmail.com
  30. - alberto@0x1a.us
  31. on_failure: always
  32. on_success: change
  33. branches:
  34. only:
  35. - master