forked from elastic/apm-agent-rum-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
64 lines (58 loc) · 1.2 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
53
54
55
56
57
58
59
60
61
62
63
64
sudo: required
language: node_js
services:
- docker
node_js:
- '12'
before_install:
- nvm install-latest-npm
cache:
directories:
- $HOME/.npm
env:
global:
- APM_SERVER_PORT=8200
- APM_SERVER_URL=http://localhost:8001
- MODE=none
- DISPLAY=:0
stages:
- check
- test
jobs:
allow_failures:
- script: npm run bundlesize
include:
- stage: check
script: npm run lint
name: 'Lint'
- stage: check
script: npm run bundlesize
name: 'Analyse size of JS bundles'
- stage: test
env:
- STACK_VERSION=8.0.0-SNAPSHOT
- SCOPE=@elastic/apm-rum-core
- stage: test
env:
- STACK_VERSION=8.0.0-SNAPSHOT
- SCOPE=@elastic/apm-rum
- stage: test
env:
- STACK_VERSION=8.0.0-SNAPSHOT
- SCOPE=@elastic/apm-rum-react
- stage: test
env:
- STACK_VERSION=8.0.0-SNAPSHOT
- SCOPE=@elastic/apm-rum-angular
- stage: test
env:
- STACK_VERSION=8.0.0-SNAPSHOT
- SCOPE=@elastic/apm-rum-vue
addons:
apt:
packages:
- xsltproc
- libxml2-utils
script:
- docker-compose -f ./dev-utils/docker-compose.yml up -d wait-for-apm-server
- npm run test