summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml7
1 files changed, 5 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 778368cc1..f5c302c91 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,6 +1,9 @@
language: cpp
sudo: required
dist: trusty
+env:
+ - TEST_SUITE=user
+ - TEST_SUITE=root
before_install:
- sudo add-apt-repository 'deb http://archive.ubuntu.com/ubuntu/ wily main universe' -y
- |
@@ -13,6 +16,6 @@ install:
- make
script:
- make test
- - ./test/integration/run-tests -q
+ - test "$TEST_SUITE" != "user" || ./test/integration/run-tests -q
- sudo adduser --force-badname --system --home /nonexistent --no-create-home --quiet _apt || true
- - sudo ./test/integration/run-tests -q
+ - test "$TEST_SUITE" != "root" || sudo ./test/integration/run-tests -q