forked from karma-runner/karma
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
44 lines (37 loc) · 949 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
42
43
44
os: linux
dist: xenial
language: node_js
jobs:
include:
- node_js: "10"
script:
- npm run init
- npm run test:unit
- npm run test:e2e
- node_js: "12"
script:
- npm run init
- npm run test:unit
- npm run test:e2e
- node_js: "14"
script:
- npm run init
- commitlint-travis
- npm run lint
- npm run build:check
- npm run test:unit
- npm run test:e2e
- npm run test:client
- npm run test:integration
after_success:
# run automated release process with semantic-release
- echo "TRAVIS_BRANCH=$TRAVIS_BRANCH, TRAVIS_EVENT_TYPE=$TRAVIS_EVENT_TYPE
- if [[ "$TRAVIS_BRANCH" == "master" && "$TRAVIS_EVENT_TYPE" == "push" ]]; then
npm run semantic-release;
fi;
before_install:
- npm config set loglevel warn
addons:
firefox: "latest"
services:
- xvfb