From 203e375449d395d0442fffee8ec0d1d7a7fff9a3 Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Fri, 13 Jan 2017 14:30:41 -0800 Subject: [PATCH] Fix python 3.6 install. --- test/utils/shippable/other.sh | 7 +++++-- test/utils/shippable/units.sh | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/test/utils/shippable/other.sh b/test/utils/shippable/other.sh index 17c164d65e..31ea17c2e9 100755 --- a/test/utils/shippable/other.sh +++ b/test/utils/shippable/other.sh @@ -3,14 +3,17 @@ set -o pipefail add-apt-repository 'deb http://archive.ubuntu.com/ubuntu trusty-backports universe' +add-apt-repository 'ppa:ubuntu-toolchain-r/test' add-apt-repository 'ppa:fkrull/deadsnakes' -add-apt-repository 'ppa:jonathonf/python-3.6' apt-get update -qq apt-get install -qq \ shellcheck \ python2.4 \ - python3.6 \ + g++-4.9 \ + python3.6-dev \ + +ln -sf x86_64-linux-gnu-gcc-4.9 /usr/bin/x86_64-linux-gnu-gcc pip install tox --disable-pip-version-check diff --git a/test/utils/shippable/units.sh b/test/utils/shippable/units.sh index e78487d28e..653a8f33c4 100755 --- a/test/utils/shippable/units.sh +++ b/test/utils/shippable/units.sh @@ -3,7 +3,7 @@ set -o pipefail add-apt-repository 'ppa:ubuntu-toolchain-r/test' -add-apt-repository 'ppa:jonathonf/python-3.6' +add-apt-repository 'ppa:fkrull/deadsnakes' apt-get update -qq apt-get install -qq \