turn sudo off in travis

This commit is contained in:
Valient Gough 2016-09-08 21:43:17 +02:00
parent c3a2a40268
commit 343ef4645b
No known key found for this signature in database
GPG Key ID: B515DCEB95967051

View File

@ -1,5 +1,7 @@
language: cpp language: cpp
sudo: false
compiler: compiler:
- gcc - gcc
- clang - clang
@ -8,6 +10,7 @@ branches:
only: only:
- master - master
- coverity_scan - coverity_scan
- travis
env: env:
global: global:
@ -15,11 +18,6 @@ env:
# via the "travis encrypt" command using the project repo's public key # via the "travis encrypt" command using the project repo's public key
- secure: "KuAAwjiIqkk4vqSX/M3ZZIvQs6edm+tV8IADiklTUYZIFyxu8FgZ6RbDdMD2sef5bNZA1OZhlcbeRtiKff5CfMtvzc607Lg3NUkpi+ShMynWgqS/e0uCMf9ogEJlUiZMxf4juBi7v6DyMl/WV6pAdJmdfHtzcj8GF2mgTfQjkO8=" - secure: "KuAAwjiIqkk4vqSX/M3ZZIvQs6edm+tV8IADiklTUYZIFyxu8FgZ6RbDdMD2sef5bNZA1OZhlcbeRtiKff5CfMtvzc607Lg3NUkpi+ShMynWgqS/e0uCMf9ogEJlUiZMxf4juBi7v6DyMl/WV6pAdJmdfHtzcj8GF2mgTfQjkO8="
before_install:
- echo -n | openssl s_client -connect scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sudo tee -a /etc/ssl/certs/ca
# - sudo apt-get update -qq
#- sudo apt-get install -qq cmake libfuse-dev libgettextpo-dev
install: install:
- if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi - if [ "$CXX" = "g++" ]; then export CXX="g++-4.8" CC="gcc-4.8"; fi
@ -41,6 +39,7 @@ addons:
build_command_prepend: "cd build && make clean" build_command_prepend: "cd build && make clean"
build_command: "make -j 4" build_command: "make -j 4"
branch_pattern: coverity_scan branch_pattern: coverity_scan
apt: apt:
sources: sources:
- ubuntu-toolchain-r-test - ubuntu-toolchain-r-test