-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathback.travis.yml
73 lines (69 loc) · 7.01 KB
/
back.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
language: node_js
dist: trusty
git:
depth: 1
cache:
bundler: true
directories:
- node_modules
- "$(npm root -g)"
- "$(npm config get prefix)/bin"
branches:
only:
- master
- stage
- test
- build
- dev
env:
global:
- DEEP_NO_INTERACTION=1
# AWS_ACCOUNT_ID=[secure]
- secure: "neCWR2sd07qIJ3PmW99Snp7r/0GdBrkFTnUfUmzCGWbq0FkX6MgbGK8Mnz/EWNpnZ07XiV816+/KGWFddisLYMCsbHoIFklBw5Z1ApWr9ZladEqoYeuCoM5KoDXkilwF6Zg3W66I+lOm0hwj73AyqO6iWtF8qZMZoIeUCYXBYTDLNBTUQTWJQyk34O4Umn8/f6FjCx/K0wJwQnA9NjqHYn2yKUEQR1Pu1ZPX95z90xEqiNEpu4AChohfLyGLeOoSSMiVTqftLXcqhOpK7WJnf5Mx/SWDhftpYtxYzHJ/QRqC9eomThvZoYMy6+yIV+HBvovlQCtOFRH+zkYZn9JmFigiAmr/BJx21eAfY07pPJvGR3uyGoR7NIXwCZZvck6U8mPzzueVLZSQZHqr1LZ+YkL52xc78OmyOMVft++chaBJGvLah4i8zRAf0frQHYPWqBBJyIysdS6/fGa2S0GaSDJugaSTYk4Lg1sGFxMZNQXK7Xos/DqQA6biNdWUPzCX9+YPMZNyv3MQtThDZDac6Feum6U9fylLKIJSrQJswMQoXzKT23GqGQnx0qrrz24l9KEyB+1oJ8byChd/IERnWjB+qrE4fB/acw2rA2iSAu0ZnohZq4W99ZpQYh8GVAMKuFD1t8Ex9M/fFIYkVl2/bEvjrceOQGDCwmQJCPIkCL8="
# AWS_ACCESS_KEY_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- secure: "obJbDccUmdb5BV0q9eup6qutmT1z9gBo7JEZr33OSCMb4GQGHUmpANLsxcFGwh9NZdoRGGOn1ZNHK28O2oLdIVROTKxKDDNNNyyRl8fnrhhsQRa/L4MNttsrv4J779R0dhMSRgqXXJN5urAYCHMt5A7ZVA48p6KKAsE+H8ukHnHzN7Q9KD67cGm5jml780iy6crzGD9mnZXhjmPp2LTmGclocj6KkRr1p35Ij88/UFtVjw/I0oVmxhG4fhgy52403q1Fb/IEVJQNt1bNpewPiTzKUkZiMM+flOso2A/Rc6Uf5z+6nooGCCu/UbCIRdu2cOGjlORS1vvYppfedxoLX0mwmMEloJ7gLh8DO+hEfocMf24ktT1DoXuOInbXdF5wSzXMiJ+avP+7fB2kveHZNJ/tUiDzZ63dPH7FXr+kXKrWHrTne8MBoUOf8C+/GYmmoEHrzTmn1CvL0t6z7cCzi6xVNNvmzgz+mwxo8NYCT8wYxLtVNwY4Znsx5skMBd6TFumCUZAy3qfCnA2C6lhYleQoJ7aiek7tCJO4czZzGlBJCyYzioRHpbfdC9oMETwEmwFSBwGgBAPjDNcYeBJXz2BrnzWiRxi+tjNDYx7fMMXJF3xDY9jgNGlyhbYr+dIE3D4w8XuXNhlacO4t5SSlfcl4p8Ag4SB4RECwrrf+Ixk="
stage: "Run Unit Tests :clipboard:"
node_js:
- 6
- 8
before_install:
- source bin/deploy/init.sh
script:
- recink run unit -c recink-codeclimate -c recink-snyk
jobs:
include:
- stage: "Deploy To :cloud:"
node_js: 6
script:
- if [ ${ALLOW_DEPLOY} == 1 ]; then node bin/deploy; else echo "Skipping deploy"; fi
after_failure:
- deepify undeploy src --loglevel=debug
- stage: "Run e2e Tests :clipboard:"
node_js: 8
script:
- if [ ${ALLOW_DEPLOY} == 1 ]; then recink run e2e; else echo "Skipping e2e tests"; fi
# addons:
# firefox: 'latest'
# chrome: 'beta'
# apt:
# packages:
# - xvfb
# install:
# - 'export DISPLAY='':99.0'''
# - 'Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 &'
- stage: "Page speed :rocket:"
node_js: 6
script:
- if [ ${ALLOW_DEPLOY} == 1 ]; then recink run unit -s emit -c recink-pagespeed; else echo "Skipping pagespeed"; fi