File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -4,12 +4,9 @@ MERCURIAL_VERSION="5.2"
4
4
VERSION_CONTROL_TOOLS_REV=" 102106f53cb2"
5
5
6
6
apt-get update
7
- apt-get install --no-install-recommends -y gcc curl bzip2 python2-minimal python-bz2file python-dev
7
+ apt-get install --no-install-recommends -y gcc curl bzip2 python-dev
8
8
9
- # Setup mercurial from its own website, without install pip2 which has a lot of dependencies
10
- curl -L https://www.mercurial-scm.org/release/mercurial-$MERCURIAL_VERSION .tar.gz | tar -C /opt -xvz
11
- cd /opt/mercurial-$MERCURIAL_VERSION
12
- python2 setup.py install
9
+ pip install --disable-pip-version-check --quiet --no-cache-dir mercurial==$MERCURIAL_VERSION
13
10
14
11
# Setup grcov
15
12
curl -L https://github.com/mozilla/grcov/releases/download/$GRCOV_VERSION /grcov-linux-x86_64.tar.bz2 | tar -C /usr/bin -xjv
@@ -20,7 +17,7 @@ hg clone -r $VERSION_CONTROL_TOOLS_REV https://hg.mozilla.org/hgcustom/version-c
20
17
ln -s /src/bot/ci/hgrc $HOME /.hgrc
21
18
22
19
# Cleanup
23
- apt-get purge -y gcc curl python-dev
20
+ apt-get purge -y gcc curl bzip2 python-dev
24
21
apt-get autoremove -y
25
22
rm -rf /var/lib/apt/lists/*
26
23
rm -rf /src/version-control-tools/.hg /src/version-control-tools/ansible /src/version-control-tools/docs /src/version-control-tools/testing
You can’t perform that action at this time.
0 commit comments