forked from keystonejs/keystone-classic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
90 lines (89 loc) · 1.85 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
language: node_js
node_js:
- '6'
env:
global:
- KEYSTONE_PREBUILD_ADMIN=true
matrix:
- JOB=lint-and-test-cov
matrix:
include:
- node_js: '6'
addons:
sauce_connect: true
script:
- npm run test-e2e-saucelabs-group
env:
- JOB=e2e GROUP=group005Fields
- node_js: '6'
addons:
sauce_connect: true
script:
- npm run test-e2e-saucelabs-group
env:
- JOB=e2e GROUP=group004Item
- node_js: '6'
addons:
sauce_connect: true
script:
- npm run test-e2e-saucelabs-group
env:
- JOB=e2e GROUP=group003List
- node_js: '6'
addons:
sauce_connect: true
script:
- npm run test-e2e-saucelabs-group
env:
- JOB=e2e GROUP=group002Home
- node_js: '6'
addons:
sauce_connect: true
script:
- npm run test-e2e-saucelabs-group
env:
- JOB=e2e GROUP=group001Login
- node_js: '6'
script:
- npm run test-admin
env:
- JOB=unit_tests_node_6
- node_js: '5'
script:
- npm run test-admin
env:
- JOB=unit_tests_node_5
- node_js: '4'
script:
- npm run test-admin
env:
- JOB=unit_tests_node_4
- node_js: '0.12'
script:
- npm run test-admin
env:
- JOB=unit_tests_node_0.12
before_script:
- sleep 15
script:
- npm run lint
- npm run test-cov
sudo: required
notifications:
email:
slack:
secure: AqayzYjoHTlwE85pgB0h5yqpyBDWbdrpiXKXhb8tSqWPKi6unhkfZ4r11kQRowoDQXb+fue9367u+lJ9lKBfMv+SSFnKY+OccasfrW6JwJ8Wi258aB7bjcSP9kUtUfvbbvPSwQjY6Z8+9TlMxP6kyabeZ69SGnhnaJNt+vbAJzc=
services:
- mongodb
git:
depth: 10
cache:
directories:
- node_modules
addons:
apt:
sources:
- mongodb-3.2-precise
packages:
- mongodb-org-server