-
Notifications
You must be signed in to change notification settings - Fork 24
/
.travis.yml
41 lines (41 loc) · 943 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
32
33
34
35
36
37
38
39
40
41
language: node_js
node_js:
- '16'
sudo: required
dist: xenial
services:
- docker
addons:
apt:
packages:
- libgconf-2-4
- xvfb
chrome: stable
sonarcloud:
organization: 'rickvandermey'
token: $SONAR_TOKEN
cache:
directories:
- $HOME/.npm
- $HOME/.cache
- $HOME/ssl
before_install:
- export DISPLAY=:99.0
- docker run mcr.microsoft.com/playwright:v1.20.1-focal
install:
- npm install codecov -g
- npm ci
- npx playwright install
- export DISPLAY=':99.0'
- Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &
script:
- git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*"
- git fetch --depth=200 origin
- npm run affected:lint
- npm run affected:test-ci
- npm run certificate:copy
- npm run affected:e2e
- npm run affected:build-ci
- sonar-scanner
after_success:
- codecov