forked from newrelic/node-newrelic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (41 loc) · 1.01 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
language: generic
env:
global:
- MONGODB=2.6.11
matrix:
# NODE 8
- NR_NODE_VERSION=8 SUITE=smoke
- NR_NODE_VERSION=8 SUITE=unit
- NR_NODE_VERSION=8 SUITE=integration
- NR_NODE_VERSION=8 SUITE=versioned
# NODE 10
- NR_NODE_VERSION=10 SUITE=smoke
- NR_NODE_VERSION=10 SUITE=unit
- NR_NODE_VERSION=10 SUITE=integration
- NR_NODE_VERSION=10 SUITE=versioned
# NODE 12 --
- NR_NODE_VERSION=12 SUITE=smoke
- NR_NODE_VERSION=12 SUITE=unit
- NR_NODE_VERSION=12 SUITE=integration
- NR_NODE_VERSION=12 SUITE=lint
- NR_NODE_VERSION=12 SUITE=security
- NR_NODE_VERSION=12 SUITE=versioned
services:
- memcached
- mysql
- redis
- postgresql
- rabbitmq
addons:
apt:
packages:
- rabbitmq-server
before_install:
- source ./bin/travis-node.sh
- ./bin/travis-setup.sh
install: if [ "$SUITE" != "smoke" ]; then npm ci; fi
cache:
directories:
- "$HOME/.npm"
script: npm run $SUITE
after_script: find /home/travis/.npm/_logs -type f -exec cat '{}' +