Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

Commit 4772624

Browse files
committedOct 22, 2020
switch from Travis-CI to Taskcluster (and drop multiple HAPI version checks)
1 parent 668dd86 commit 4772624

File tree

2 files changed

+37
-20
lines changed

2 files changed

+37
-20
lines changed
 

‎.taskcluster.yml

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
version: 1
2+
policy:
3+
pullRequests: public
4+
tasks:
5+
$let:
6+
head_rev:
7+
$if: 'tasks_for == "github-pull-request"'
8+
then: ${event.pull_request.head.sha}
9+
else: ${event.after}
10+
repository:
11+
$if: 'tasks_for == "github-pull-request"'
12+
then: ${event.pull_request.head.repo.html_url}
13+
else: ${event.repository.html_url}
14+
in:
15+
- provisionerId: 'proj-taskcluster'
16+
workerType: 'ci'
17+
created: {$fromNow: ''}
18+
deadline: {$fromNow: '1 hour'}
19+
payload:
20+
maxRunTime: 3600
21+
image: node:12
22+
command:
23+
- /bin/bash
24+
- '--login'
25+
- '-c'
26+
- >-
27+
git clone ${repository} repo &&
28+
cd repo &&
29+
git config advice.detachedHead false &&
30+
git checkout ${head_rev} &&
31+
yarn &&
32+
yarn test
33+
metadata:
34+
name: test
35+
description: Tests for hawk
36+
owner: nobody@mozilla.com
37+
source: https://github.com/mozilla/hawk

‎.travis.yml

-20
This file was deleted.

0 commit comments

Comments
 (0)
This repository has been archived.