Bug 1390968: add a py(3) job; r=gps

MozReview-Commit-ID: 1BkOEvPKjSD

--HG--
extra : rebase_source : 5b330030b5961cf8557a33346c2b8b7208aaf99c
This commit is contained in:
Dustin J. Mitchell 2017-08-28 20:55:55 +00:00
Родитель 1f043922a9
Коммит 8f96075410
2 изменённых файлов: 22 добавлений и 0 удалений

Просмотреть файл

@ -148,3 +148,23 @@ mozlint:
files-changed:
- 'python/mozlint/**'
- 'python/mach_commands.py'
python3:
description: regression tests for python3 compatibility
platform: linux64/opt
treeherder:
symbol: py(3)
kind: test
tier: 2
worker-type: aws-provisioner-v1/gecko-t-linux-large
worker:
docker-image: {in-tree: "lint"}
max-run-time: 3600
run:
using: run-task
# this will evolve as we get closer and closer to python 3 compatibility. It may
# eventually be a mach command or shell script.
command: python3 -mcompileall python/
when:
files-changed:
- 'python/**/*.py'

Просмотреть файл

@ -15,6 +15,8 @@ apt_packages+=('locales')
apt_packages+=('git')
apt_packages+=('python')
apt_packages+=('python-pip')
apt_packages+=('python3')
apt_packages+=('python3-pip')
apt_packages+=('sudo')
apt_packages+=('wget')
apt_packages+=('xz-utils')