forked from taskcluster/taskcluster-hooks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.taskcluster.yml
31 lines (30 loc) · 894 Bytes
/
.taskcluster.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
version: 0
tasks:
- provisionerId: '{{ taskcluster.docker.provisionerId }}'
workerType: '{{ taskcluster.docker.workerType }}'
extra:
github:
events:
- pull_request.closed
- pull_request.opened
- pull_request.reopened
- pull_request.synchronize
- push
- release
payload:
maxRunTime: 3600
image: node
command:
- /bin/bash
- '--login'
- '-c'
- >-
git clone {{event.head.repo.url}} repo && cd repo && git config
advice.detachedHead false && git checkout {{event.head.sha}} && npm
install . && npm test
metadata:
name: taskcluster-hooks tests
description: Run tests for taskcluster-hooks in Taskcluster
owner: '{{ event.head.user.email }}'
source: '{{ event.head.repo.url }}'
allowPullRequests: public