forked from keystonejs/keystone-classic
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
80 lines (78 loc) · 1.86 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
language: node_js
node_js:
- '8'
env:
global:
- SAUCE_USERNAME=jstockwin1
- KEYSTONE_PREBUILD_ADMIN=true
matrix:
- JOB=lint-and-test-cov
matrix:
include:
- node_js: '8'
script:
- travis_retry npm run test-e2e-saucelabs-group
env:
- JOB=e2e GROUP=group006Fields
- node_js: '8'
script:
- travis_retry npm run test-e2e-saucelabs-group
env:
- JOB=e2e GROUP=group005Item
- node_js: '8'
script:
- travis_retry npm run test-e2e-saucelabs-group
env:
- JOB=e2e GROUP=group004List
- node_js: '8'
script:
- travis_retry npm run test-e2e-saucelabs-group
env:
- JOB=e2e GROUP=group003Home
- node_js: '8'
script:
- travis_retry npm run test-e2e-saucelabs-group
env:
- JOB=e2e GROUP=group002App
- node_js: '8'
script:
- travis_retry npm run test-e2e-saucelabs-group
env:
- JOB=e2e GROUP=group001Login
- node_js: '8'
script:
- npm run test-admin
env:
- JOB=admin_tests_node_8
- node_js: '8'
script:
- npm run test-unit
env:
- JOB=unit_tests_node_8
before_script:
- sleep 15
script:
- npm run lint
- npm run test-cov
sudo: required
notifications:
email:
- jed@keystonejs.com
slack:
secure: AqayzYjoHTlwE85pgB0h5yqpyBDWbdrpiXKXhb8tSqWPKi6unhkfZ4r11kQRowoDQXb+fue9367u+lJ9lKBfMv+SSFnKY+OccasfrW6JwJ8Wi258aB7bjcSP9kUtUfvbbvPSwQjY6Z8+9TlMxP6kyabeZ69SGnhnaJNt+vbAJzc=
services:
- mongodb
git:
depth: 10
cache:
yarn: true
directories:
- node_modules
addons:
apt:
sources:
- mongodb-3.2-precise
packages:
- mongodb-org-server
jwt:
secure: EDmMTTPbjAwagS9jR5G9yMa7cyO3gdNuQGQ53NEcBKbM7CfUq+mtlyF1XGaLo8n9VseRgtw2RbxqztUgER3irlWpQu82t6DIJylYJpGy2oiAFimN2xp94p3HGatuCF4BMkRVBUvbtvmfFpZf4HKT5nup1MGvKVrUyZuQPObm9rQ=