1version: 0
2metadata:
3  name: servo
4  description: >-
5    A modern, high-performance browser engine designed for both application
6    and embedded use.
7  owner: '{{ event.head.user.email }}'
8  source: '{{ event.head.repo.url }}'
9tasks:
10  - provisionerId: '{{ taskcluster.docker.provisionerId }}'
11    workerType: '{{ taskcluster.docker.workerType }}'
12    extra:
13      github:
14        events:
15          - pull_request.opened
16          - pull_request.reopened
17          - pull_request.synchronize
18    payload:
19      maxRunTime: 3600
20      image: 'servobrowser/servo-linux-dev:servo-linux-build-deps-2017-06-30'
21      command:
22        - /bin/bash
23        - '--login'
24        - '-c'
25        - '-x'
26        - >-
27          git clone {{event.head.repo.url}} servo &&
28          cd servo &&
29          git config advice.detachedHead false &&
30          git checkout {{event.head.sha}} &&
31          etc/ci/taskcluster-test.sh
32    metadata:
33      name: linux-tests
34      description: Run Linux tests.
35      owner: '{{ event.head.user.email }}'
36      source: '{{ event.head.repo.url }}'
37allowPullRequests: public
38