forked from w3c/aria-practices
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
52 lines (46 loc) · 1.05 KB
/
.travis.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
language: node_js
node_js:
- "lts/*"
git:
depth: 3
stages:
- Test
- Deploy
jobs:
fast_finish: true
allow_failures:
- env: ALLOW_FAILURE=true
include:
- stage: Test
name: CSS Linting
script: npm run lint:css
- stage: Test
name: JS Linting
script: npm run lint:es
- stage: Test
name: HTML Linting
script: npm run vnu-jar
- stage: Test
name: Spellcheck
script: npm run lint:spelling
env: ALLOW_FAILURE=true
- stage: Test
name: AVA Regression Tests
addons:
firefox: latest
script: scripts/regression-tests.sh
env: TEST_WAIT_TIME=1000
- stage: Test
name: Regression Tests Coverage Report
script: node test/util/report.js
env: ALLOW_FAILURE=true
- stage: Deploy
if: branch = master AND type != pull_request
script: skip
before_deploy: scripts/travis-before_deploy.sh
deploy:
provider: script
skip_cleanup: true
script: /tmp/deploy/travis-deploy.sh
on:
branch: master