diff options
author | Julian Andres Klode <jak@debian.org> | 2017-01-24 19:28:51 +0100 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2017-02-22 16:53:46 +0100 |
commit | 92ec321709d5da32cf2de04dbf897137ead7bb6b (patch) | |
tree | 8f0d83edcb1aa88ce4cc151f630843cacd21f37d | |
parent | e12dbcbaf486d176762d82f75307b9f5dfa66752 (diff) | |
download | apt-92ec321709d5da32cf2de04dbf897137ead7bb6b.tar.gz |
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
(cherry picked from commit 17dadc40aefbbdd002b864edd157e4795e54fba3)
-rw-r--r-- | .travis.yml | 6 |
1 files changed, 3 insertions, 3 deletions
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 |