Install virtualenv python module.

This commit is contained in:
Josh Matthews 2019-04-01 10:59:13 -04:00
parent 903729159e
commit c0052c0894
2 changed files with 6 additions and 2 deletions

View file

@ -6,6 +6,7 @@ matrix:
- sudo: false - sudo: false
before_install: before_install:
- curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain none -y - curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain none -y
- pip install virtualenv
- source ~/.profile - source ~/.profile
script: script:
- ./mach test-tidy --no-progress --all - ./mach test-tidy --no-progress --all
@ -20,6 +21,7 @@ matrix:
- sudo add-apt-repository 'deb http://apt.llvm.org/precise/ llvm-toolchain-precise-3.9 main' -y - sudo add-apt-repository 'deb http://apt.llvm.org/precise/ llvm-toolchain-precise-3.9 main' -y
- sudo apt-get update -q - sudo apt-get update -q
- sudo apt-get install clang-3.9 llvm-3.9 llvm-3.9-runtime libunwind8-dev -y - sudo apt-get install clang-3.9 llvm-3.9 llvm-3.9-runtime libunwind8-dev -y
- pip install virtualenv
- curl -L http://servo-deps.s3.amazonaws.com/gstreamer/gstreamer-1.14-x86_64-linux-gnu.20190213.tar.gz | tar xz - curl -L http://servo-deps.s3.amazonaws.com/gstreamer/gstreamer-1.14-x86_64-linux-gnu.20190213.tar.gz | tar xz
- sed -i "s;prefix=/opt/gst;prefix=$PWD/gst;g" $PWD/gst/lib/pkgconfig/*.pc - sed -i "s;prefix=/opt/gst;prefix=$PWD/gst;g" $PWD/gst/lib/pkgconfig/*.pc
- export PKG_CONFIG_PATH=$PWD/gst/lib/pkgconfig - export PKG_CONFIG_PATH=$PWD/gst/lib/pkgconfig

View file

@ -16,8 +16,10 @@ RUN \
# #
# Running mach # Running mach
python \ python \
virtualenv \ python-pip \
# #
# Installing rustup and sccache (build dockerfile) or fetching build artifacts (run tasks) # Installing rustup and sccache (build dockerfile) or fetching build artifacts (run tasks)
curl curl && \
# Running mach
pip install virtualenv