Merge pull request #1678 from parrt/node-deadsnakes-setup

node, deadsnakes setup simplification
This commit is contained in:
Terence Parr 2017-02-20 13:44:04 -08:00 committed by GitHub
commit fc7a68d16d
2 changed files with 6 additions and 4 deletions

View File

@ -55,6 +55,12 @@ matrix:
- os: linux
jdk: oraclejdk7
env: TARGET=python3
addons:
apt:
sources:
- deadsnakes # source required so it finds the package definition below
packages:
- python3.5
- os: linux
jdk: oraclejdk7
env: TARGET=javascript

View File

@ -2,8 +2,4 @@
set -euo pipefail
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
sudo add-apt-repository ppa:fkrull/deadsnakes -y
sudo apt-get update -qq
sudo apt-get install -qq python3.5
python3 --version