travis_linux_before_install.sh 658 B

12345678910111213141516171819202122
  1. #!/bin/bash
  2. set -ev
  3. echo "=== Installing from external package sources ==="
  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 "=== Installing python packages ==="
  11. pip install --user cpp-coveralls
  12. pip install --user sphinx
  13. pip install --user sphinx_rtd_theme
  14. echo "=== Installed versions are ==="
  15. clang --version
  16. g++ --version
  17. cppcheck --version
  18. valgrind --version