forked from zapier/zapier-platform
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
63 lines (63 loc) · 1.74 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
language: node_js
node_js:
- "12"
cache:
- npm: true
- yarn: true
- pip: true
before_install:
- npm install -g yarn
- pip install --user awscli
install:
- yarn install
stages:
- name: "Test"
- name: "Deploy"
if: tag IS present
jobs:
include:
- stage: "Test"
name: "lint"
script: "yarn lint"
node_js: "12"
- name: "cli - unit tests - Node 10"
script: "yarn workspace zapier-platform-cli test"
node_js: "10"
- name: "cli - smoke tests - Node 10"
script: "yarn workspace zapier-platform-cli smoke-test"
node_js: "10"
- name: "cli - unit tests - Node 12"
script: "yarn workspace zapier-platform-cli test"
node_js: "12"
- name: "cli - smoke tests - Node 12"
script: "yarn workspace zapier-platform-cli smoke-test"
node_js: "12"
- name: "core - unit tests - Node 12"
script: "yarn workspace zapier-platform-core test"
node_js: "12"
- name: "core - smoke tests - Node 12"
script: "yarn workspace zapier-platform-core smoke-test"
node_js: "12"
- name: "schema - unit tests - Node 12"
script: "yarn workspace zapier-platform-schema test"
node_js: "12"
- name: "schema - smoke tests - Node 12"
script: "yarn workspace zapier-platform-schema smoke-test"
node_js: "12"
- name: "legacy-scripting-runner - integration tests - Node 12"
script: "yarn workspace zapier-platform-legacy-scripting-runner test"
node_js: "12"
- stage: "Deploy"
script: skip
deploy:
provider: script
script: ./scripts/publish.sh
on:
tags: true,
node: "12"
skip_cleanup: true
notifications:
email: false
env:
global:
- PATH: PATH=$HOME/.local/bin:$PATH