aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
authorPeter Wu <peter@lekensteyn.nl>2019-01-07 18:21:33 +0100
committerAnders Broman <a.broman58@gmail.com>2019-01-08 04:43:23 +0000
commitd76e32f478f2a1c36e641a68f0d95f17501bbab1 (patch)
tree2d914c180db0648df1233bc527039614fbb07abe /.travis.yml
parentd45f0faf67f5470655648f3ccfef88415d1d5f91 (diff)
travis: do not run pip as root
Both Ubuntu and macOS seems happy without it, removing sudo allows it to be executed on Windows as well. Change-Id: I9daece79d3bc5c97078ba27834de42228f7c3dc9 Reviewed-on: https://code.wireshark.org/review/31434 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml3
1 files changed, 2 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 6953f79ca1..11abf4510b 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -62,7 +62,8 @@ before_install:
# linux
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo ./tools/debian-setup.sh --install-optional --install-test-deps -q; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install -y python3-pip; fi
- - sudo pip3 install pytest pytest-xdist
+ # all platforms
+ - pip3 install pytest pytest-xdist
before_script:
- mkdir build
- cd build