This repository has been archived by the owner on Dec 1, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 31
/
.taskcluster.yml
77 lines (77 loc) · 2.85 KB
/
.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
version: 0
metadata:
name: Loop
description: Loop CI Tasks
owner: "{{ event.head.user.email }}"
source: "{{ event.head.repo.url }}"
tasks:
- provisionerId: "{{ taskcluster.docker.provisionerId }}"
metadata:
name: Loop Lint Tests
description: Loop Lint Tests
owner: "{{ event.head.user.email }}"
source: "{{ event.head.repo.url }}"
workerType: "{{ taskcluster.docker.workerType }}"
payload:
maxRunTime: 1200
image: "standard8/loop:0.1.0.201606282211"
command:
- "/bin/bash"
- "-lc"
- "git clone {{event.head.repo.url}} repo && cd repo && git checkout {{event.head.repo.branch}} && make check_strings && make lint"
extra:
github:
env: true
events:
- pull_request.opened
- pull_request.synchronize
- pull_request.reopened
- push
- provisionerId: "{{ taskcluster.docker.provisionerId }}"
metadata:
name: Loop Unit Tests
description: Loop Unit Tests (Karma/Mocha/Chai)
owner: "{{ event.head.user.email }}"
source: "{{ event.head.repo.url }}"
workerType: "{{ taskcluster.docker.workerType }}"
payload:
maxRunTime: 1200
image: "standard8/loop:0.1.0.201606282211"
command:
- "/bin/bash"
- "-lc"
- "./bin/setup-x11.sh && sudo apt-get update && sudo apt-get upgrade -y google-chrome-stable && git clone {{event.head.repo.url}} repo && cd repo && git checkout {{event.head.repo.branch}} && mozdownload --type=daily --branch=mozilla-central && tar xfj *.bz2 && FIREFOX_BIN=`pwd`/firefox/firefox make karma"
extra:
github:
env: true
events:
- pull_request.opened
- pull_request.synchronize
- pull_request.reopened
- push
- provisionerId: "{{ taskcluster.docker.provisionerId }}"
metadata:
name: Loop Functional Tests
description: Loop Functional Tests (Selenium)
owner: "{{ event.head.user.email }}"
source: "{{ event.head.repo.url }}"
workerType: "{{ taskcluster.docker.workerType }}"
payload:
maxRunTime: 1200
image: "standard8/loop-functional:0.2.0.201607060908"
command:
- "/bin/bash"
- "-lc"
- "./bin/setup.sh && git clone {{event.head.repo.url}} repo && cd repo && git checkout {{event.head.repo.branch}} && wget https://archive.mozilla.org/pub/firefox/tinderbox-builds/mozilla-release-linux64-add-on-devel/1469873725/firefox-48.0.en-US.linux-x86_64-add-on-devel.tar.bz2 && tar xfj *.bz2 && TEST_BROWSER=`pwd`/firefox/firefox TEST_SERVER=dev make functional"
artifacts:
'public':
type: 'directory'
path: '/home/worker/artifacts/public'
extra:
github:
env: true
events:
- pull_request.opened
- pull_request.synchronize
- pull_request.reopened
- push