travis_linux_before_install.sh 1014 B

12345678910111213141516171819202122232425
  1. #!/bin/bash
  2. set -ev
  3. echo "=== Installing from external package sources ===" && echo -en 'travis_fold:start:before_install.external\\r'
  4. wget -O - http://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -
  5. echo "deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-3.9 main" | sudo tee -a /etc/apt/sources.list
  6. sudo add-apt-repository -y ppa:lttng/ppa
  7. sudo apt-get update -qq
  8. sudo apt-get install -y clang-3.9 clang-tidy-3.9
  9. sudo apt-get install -y liburcu4 liburcu-dev
  10. echo -en 'travis_fold:end:script.before_install.external\\r'
  11. echo "=== Installing python packages ===" && echo -en 'travis_fold:start:before_install.python\\r'
  12. pip install --user cpp-coveralls
  13. pip install --user sphinx
  14. pip install --user sphinx_rtd_theme
  15. echo -en 'travis_fold:end:script.before_install.python\\r'
  16. echo "=== Installed versions are ===" && echo -en 'travis_fold:start:before_install.versions\\r'
  17. clang --version
  18. g++ --version
  19. cppcheck --version
  20. valgrind --version
  21. echo -en 'travis_fold:end:script.before_install.versions\\r'