From 17dadc40aefbbdd002b864edd157e4795e54fba3 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Tue, 24 Jan 2017 19:28:51 +0100 Subject: travis: Do not build documentation in root job This speeds up testing things as root, which is good, because we usually test as user. Gbp-Dch: ignore --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 29c608f3c..023107a68 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,8 +3,8 @@ cache: ccache sudo: required dist: trusty env: - - TEST_SUITE=user - - TEST_SUITE=root + - TEST_SUITE=user CMAKE_FLAGS= + - TEST_SUITE=root CMAKE_FLAGS=-DWITH_DOC=OFF before_install: - sudo add-apt-repository 'deb http://archive.ubuntu.com/ubuntu/ wily main universe' -y - sudo add-apt-repository 'deb http://archive.ubuntu.com/ubuntu/ xenial main' -y @@ -17,7 +17,7 @@ install: - sudo apt-get -qq -y -t xenial install cmake ninja-build - sudo ./prepare-release travis-ci before_script: - - ( mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Coverage -G Ninja .. ) + - ( mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=Coverage -G Ninja $CMAKE_FLAGS .. ) - ninja -C build script: - CTEST_OUTPUT_ON_FAILURE=1 ninja -C build test -- cgit v1.2.3