summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2017-01-24 19:28:51 +0100
committerJulian Andres Klode <jak@debian.org>2017-01-24 19:28:51 +0100
commit17dadc40aefbbdd002b864edd157e4795e54fba3 (patch)
tree0e54839abb9a3edaef1849b3fb84d7760e6b745a /.travis.yml
parentbcb1919a88ea746460e623dd591f7a00135eadda (diff)
downloadapt-17dadc40aefbbdd002b864edd157e4795e54fba3.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
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml6
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