Use sudo to fix 'pip install' in travis

This commit is contained in:
Daniel James 2017-10-22 17:39:28 +01:00
parent f87d471d5c
commit 56aab0081b

View File

@ -2,6 +2,9 @@
# Distributed under the Boost Software License, Version 1.0. (See accompanying # Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
sudo: required
dist: trusty
addons: addons:
apt: apt:
packages: packages:
@ -12,7 +15,7 @@ addons:
before_script: before_script:
- touch Jamroot.jam - touch Jamroot.jam
- pip install lxml - sudo pip install lxml
script: script:
- cd ${TRAVIS_BUILD_DIR}/test - cd ${TRAVIS_BUILD_DIR}/test