-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (27 loc) · 744 Bytes
/
.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
language: minimal
services:
- docker
stages:
- test
- name: deploy
if: branch = master
jobs:
include:
- stage: test
name: Testing accessibility
install:
- docker-compose run --rm appBuilder npm ci
- docker-compose run --rm appBuilder npm run build
- docker-compose up -d app
script:
- docker-compose run --rm test
- stage: deploy
name: Deploy to github pages
install:
- docker-compose run --rm appBuilder npm ci
- docker-compose run -e PUBLIC_URL="/accessibility-checker-infrastructure/" --rm appBuilder npm run build
deploy:
provider: pages
skip-cleanup: true
github-token: $PA_TOKEN
local-dir: ./dist/