jobs:
- github-tox-verify
+##########
+# Macros #
+##########
+
+- builder:
+ name: lf-infra-tox-install
+ builders:
+ - inject:
+ properties-content: 'PYTHON_VERSION={python-version}'
+ - shell: !include-raw-escape: ../shell/tox-install.sh
+
##############
# Tox Verify #
##############
branch: master
build-days-to-keep: 7
- build-timeout: 10
+ build-timeout: 15
git-url: '$GIT_URL/$GERRIT_PROJECT'
+ python-version: python2
stream: master
submodule-recursive: true
tox-dir: ''
# Without running the install first the run in the publisher will fail
# due to missing lftools because it gets installed into a tox venv.
- ../shell/lftools-install.sh
- - shell: !include-raw-escape:
- - ../shell/tox-install.sh
- - ../shell/tox-run.sh
+ - lf-infra-tox-install:
+ python-version: '{python-version}'
+ - shell: !include-raw-escape: ../shell/tox-run.sh
publishers:
- lf-infra-publish
- lf-infra-github-scm:
url: '{git-clone-url}{github-org}/{project}'
refspec: '+refs/pull/*:refs/remotes/origin/pr/*'
- branch: '{branch}'
+ branch: '$sha1'
submodule-recursive: '{submodule-recursive}'
choosing-strategy: default
jenkins-ssh-credential: '{jenkins-ssh-credential}'