activity-stream/.taskcluster.yml

29 строки
792 B
YAML

version: 0
tasks:
- provisionerId: '{{ taskcluster.docker.provisionerId }}'
workerType: '{{ taskcluster.docker.workerType }}'
extra:
github:
events:
- pull_request.opened
- pull_request.reopened
- pull_request.synchronize
- push
payload:
maxRunTime: 7200
image: piatra/asmochitests
command:
- /bin/bash
- '--login'
- '-c'
- >-
git clone {{event.head.repo.url}} /activity-stream && cd /activity-stream &&
git checkout {{event.head.sha}} && bash ./mochitest.sh
metadata:
name: activitystream
description: run mochitests for PRs
owner: '{{ event.head.user.email }}'
source: '{{ event.head.repo.url }}'
allowPullRequests: public