-
Notifications
You must be signed in to change notification settings - Fork 55
/
.travis.yml
51 lines (49 loc) · 3.31 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
jobs:
include:
- language: node_js
node_js:
- 14.16.0
services:
- docker
cache:
yarn: true
install:
- yarn install --frozen-lockfile
script:
- yarn run lint
- yarn workspace @cedalo/parser test
- yarn workspace @cedalo/functions test
- yarn workspace @cedalo/machine-core test
- yarn workspace @cedalo/gateway test
- yarn workspace @cedalo/jsg-core test
# - yarn workspace @cedalo/stream-mongodb test
- yarn workspace @cedalo/gateway build
- yarn workspace @cedalo/webui run local-build
deploy:
- provider: script
script: bash -c "docker login -u $DOCKER_USER -p $DOCKER_PASSWORD && node scripts/build.js
--name cedalo/streamsheets-dev
--tag latest
--tag $(date +%A | tr '[:upper:]' '[:lower:]')
--skip-frontend
--push"
on:
branch: master
skip_cleanup: true
- provider: script
script: bash -c 'docker login -u $DOCKER_USER -p $DOCKER_PASSWORD && node scripts/build.js
--name cedalo/streamsheets
--tag $TRAVIS_TAG
--skip-frontend
--push'
on:
condition: "${TRAVIS_TAG} =~ ^[0-9]+\\.[0-9]+(\\.[0-9]+)?.*$"
tags: true
skip_cleanup: true
notifications:
slack:
secure: IclZ9eaz/bfq6LfRSzCddkYOWM2Bp5stp6z/AsEjF7YasCaAX5nnRSxbNpyLUKdoLJ8QBm5oEIF7JltVUNnFOT3XSJ8OBaZ93xg7LJnGF2dDCNnjxkrdCPC3szT3/8NpXKNfbKyxSWwDr61flP5Tkr1MYSVCa4tsZrYkjyu3pJbQDsTg4jB3bAu7W/JvxD+m99wK+LyDhELQk6m3rcuZs5UOJn3WBIayXBZJYo5AFgDqxbst+XFZus+bWAZXFoIetX9n3ri8qEwSiMkp34YqyCvpim+YhNgSzxRrfjsZ4qMnyzmjP0a9NcGD4bVt5AzDKH3nGd9L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