-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
executable file
·53 lines (50 loc) · 2.87 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
sudo: required
language: node_js
node_js:
- node
branches:
except:
- gh-pages
notifications:
email: false
services:
- docker
jobs:
include:
- stage: Build
name: "Buid Docker images"
install: cd scripts && npm ci && cd ..
script: node scripts/build
env:
# DEPLOY_SETTINGS_JSON='{"CI":[{"type":"docker","options":{"user":"","pass":""}}]}'
- secure: fc+QsZTHuoHvmTko3cKCKlL+W28mVX3GHI56YJ1TsWXMJcgm5NidlrHKrcE6VW1dkT6VFyCNNNS+N2t218tvJJAHHpjHh6RD1m/8njYqdKaxEl11kJ8pEIzOlfF/0yBSn2Aync0CxJGSdJoirScI/fmSefrtLxWqT7sLJuuFrPHiGLw9uzrBlB9jbaR1VIs90ALMEvH0Pr0dkkG4VkiFWy7HTtkFP8D0NcPn9m9+xa+UEZpJg6/nBBSjnBM6wzVNZPblAPmwalliwyi5y7OPu87K2QopxNBXOZZxbWGdQurUDSyMFtFbour+AeS+OyAnEO+6GeJDqwX5xmUcxhCnHrwLUmeqWGIlR1GzndFTD8LqU35SJ9dPtsSuFjyTMjkptvhrPXqcu7+SZ95L0x55R/fmLRla+sE8LT9xh1G+rkvPRJ04zsulpH5Z9un7Gt3BugainB95quNSJ6mDyiO2Z5NpUsd9tnrqducf/I0M1UHirJSv2ZdKgXtpYUPwVLKzmqv0s2sxmbG5Dpeg5pLDFElKHyEs26fiJ7HH5WYa3WOSf2OG05jJ+/oaJ6JavaKxNvdKsTHkJyn6nuU629PbgGD1av+WvltvhpypFDDJhKiv6wnvGgls/FOamWt2Nd3n0OwQJAJyuQZV/pXwsnNZYaHexuyommVNlkG/skhnnu8=
- stage: Test
name: "Vivid Operations - Systems Integration Tests"
install:
- cd scripts && npm ci && cd ..
- docker pull zevere/botops-vivid:unstable-solution
env:
- image_tag=zevere/botops-vivid:unstable-solution
script: node scripts/test/ops.integration.test.js
- name: "Vivid - Postman Tests"
install: cd scripts && npm ci && cd ..
script: node scripts/test/postman.test.js
- stage: Deploy
name: "Deploy"
script: skip
install:
- cd scripts && npm ci && cd ..
- docker pull zevere/botops-vivid:unstable
env:
# DEPLOY_SETTINGS_JSON='{"Production":[
# {"type":"docker","options":{"source":"zevere/botops-vivid:unstable","target":"zevere/botops-vivid","user":"","pass":""}},
# {"type":"heroku","options":{"app":"zv-botops-vivid","source":"zevere/botops-vivid","dyno":"web","user":"","token":""}}
# ]}'
- secure: ENWRyvYSci0wJhiM8krfNG2uNVHulTQqi3gxSg1/Itw8B2knfwxCXSXcMPXOl60I7bz4RuduSpA4mejrarzzpbpdpJPAbhG2LbbQruPZM1qyLwpQHxZoDgwmgT0CIWN0NX1AU87isNXNBN2Ja+1RazzPKYIhnCR6a0OYsKnm19vi9CnAXpN+SVbHUOlVZk54S/13OBG+t1jjECy0G7KRnfDKI/glTxdV0jzXpFr0837X6azVmV27xt8xRoV1amADpnuXfpnUc8igjQ2i4ghmgDVzOwRoShbyPk02dSN06BKdxg764btgsxN2ZsKd852Gg20VW7ChpSqab6u0R8IOgI0a5HGNKbUoa34xc/AeJSWmot3Io724yf1XFHmqvb5pi8XQzeLlQbdr51jNvppkNada3HE5FQeU/l3LuoiHn6Kn31wEv6y7A2VNVE4EncCeyxIJ5rkMQpfobUvYXT+MB0dA647+y8iXu0EzSCZFq3rH/O6tfWP2YPlCRnFNle0FElEUbNaDfzhRNtObBGsMyKHwPjeJm7AAZZ3gTEi22/cYGFR7zCnS+95k7PJ6DyZNdsFcLKNuNUuD65SiotUdMq8tYv9NR9KrGAf/+b53HfS/+XfRIhGsLJTpQvqMO7xq7ImXwDxuztIAPQXKlU0VwfsZaw9BowaKC6VjWiOtlfE=
deploy:
- provider: script
skip_cleanup: true
script: node scripts/deploy Production
on:
branch: master
# Disable "Build pushed pull requests"