Use pytest-xdist in Azure and Linux on Travis.

This commit is contained in:
Jussi Pakkanen 2019-07-08 21:24:30 +03:00
parent b1fbbde0b0
commit 706ebc37f8
2 changed files with 5 additions and 0 deletions

View File

@ -154,6 +154,10 @@ steps:
where.exe python
python --version
# Needed for running unit tests in parallel.
python -m pip install --upgrade pytest-xdist
echo ""
echo "Locating cl, rc:"
where.exe cl

View File

@ -7,6 +7,7 @@ ENV DC=gdc
RUN sed -i '/^#\sdeb-src /s/^#//' "/etc/apt/sources.list" \
&& apt-get -y update && apt-get -y upgrade \
&& apt-get -y build-dep meson \
&& apt-get -y install python3-pytest-xdist \
&& apt-get -y install python3-pip libxml2-dev libxslt1-dev cmake libyaml-dev \
&& python3 -m pip install hotdoc codecov \
&& apt-get -y install wget unzip \