forked from stanford-oval/genie-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
118 lines (116 loc) · 5.56 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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
branches:
except:
- "/^wip/"
- "/^dependabot/"
language: node_js
node_js: '12'
dist: xenial
env:
global:
- COVERALLS_PARALLEL=true
jobs:
include:
-
name: "Lint"
install:
- travis_retry npm ci
script:
- npm run lint
- npm run doc
- ./test/lint-builtins.sh
-
name: "Unit Tests"
install:
- pyenv global 3.7.1
- pip install --user torch transformers
- travis_retry npm ci
script:
- TZ="America/Los_Angeles" npx nyc ts-node ./test/unit
after_success: npm run coverage
-
name: "Dialogue Agent Tests"
install:
- travis_retry npm ci
script:
- TZ="America/Los_Angeles" npx nyc ts-node ./test/agent
after_success: npm run coverage
-
name: "Engine Tests"
install:
- travis_retry npm ci
script:
- TZ="America/Los_Angeles" npx nyc ts-node ./test/engine
after_success: npm run coverage
-
name: "Command-line Tests"
install:
- travis_retry npm ci
script: npx nyc ./test/cmdline.sh
after_success: npm run coverage
-
name: "Starter Code Tests (Basic)"
install:
- pyenv global 3.7.1
- ./travis/install-starter-deps.sh
- travis_retry npm ci
script: npx nyc ./test/basic-starter.sh
after_success: npm run coverage
-
name: "Starter Code Tests (Schema.org)"
install:
- pyenv global 3.7.1
- ./travis/install-starter-deps.sh
- travis_retry npm ci
script: npx nyc ./test/schemaorg-starter.sh
after_success: npm run coverage
- name: "Starter Code Tests (Wikidata)"
install:
- pyenv global 3.7.1
- ./travis/install-starter-deps.sh
- travis_retry npm ci
script: npx nyc ./test/wikidata-starter.sh
after_success: npm run coverage
-
name: "Starter Code Tests (MultiWOZ)"
install:
- pyenv global 3.7.1
- ./travis/install-starter-deps.sh
- travis_retry npm ci
script: npx nyc ./test/multiwoz-starter.sh
after_success: npm run coverage
-
name: "Starter Code Tests (Custom Skills)"
install:
- pyenv global 3.7.1
- ./travis/install-starter-deps.sh
- travis_retry npm ci
script: npx nyc ./test/custom-starter.sh
after_success: npm run coverage
notifications:
webhooks: https://coveralls.io/webhook
slack:
secure: IgwEjeN5cfZMm+zOnxiL7Gd1F4JYL+CFlNoEO5NbQ9Nl+OPRF3DI33mumC7AvBx32i0xmd62MYdLs8hSKQfmrv/amq1mxEqpnvATNh58v9SOMzAw5zscf5TMgSD4L3jzAQ4kLkws1DCxq8TaaukErQYVIUU0n6ILJQ3UuUGPjKLX7R2CwjzPVNeCbBxyJ6c/kwmVOEn//E5be+Y3g044AfeJZ8Q99oVIKqzgxI+kkDwuc4bkbQwP+p6hDcXAuy13ewoTz/f6oAUjcgJUwKUAe0LiVVS46aXT1ftBUQN8wA/KEgC4TdMsfmOI4XbzW9g7xhngAZ5DdB+wJ2R2TGhpqSjZ7yCQGMH4yM/2QU4dMEQUd1A9H0bYCaC449yp+WVIDz78bC4GQA1UA8RzeM8EHb5GHRQu1LloHTVSdVoTjbngPMFv6lJj7AjhAfPgi7IyO2DIp2J7f2/2FdxRVIq+TRwBNQdo1/G+XvQFNtev5o5ANiIa/r+fmE5i1yi0ZVfpe3ojerrTxArtn6VRazO7SdiyW+injMSx+NlGj3qtJVGNrzQNlC9lpOMN/Y4Y3NWSnlNumRNAxBGEUS7hnRPBRrkovUe6mdLRI4oSkVl4cwR8XNh+R31IJl9g7XpehBmkXWh+gq44S82Y+dTvbvOCidgd55AQNVTOp0XE//hE5TQ=
deploy:
- provider: npm
skip_cleanup: true
email: [email protected]
api_key:
secure: VE60YDgM3hlvMODrKdyU2dKtlJ5+ewZ/ns5oFY38sjJbBhqXBF/pxd9Ky/4ORYjGQvEG3I3d+eiI4EVfXYsZEDuSAgz1zvx7DnX+H1OHy7aJigIvg5hqpNSCcKeC7MAEqpYFBt495ZyvYHDqUsrmlxMwKY65KXv76RoYVPFh9ZwPpE2kehYKNMYNzpSPgARDW44+Zordyen6wYukaYS0Wen5vFouCwZiFS57KLOQZk4VzLPSIqLH1NNAC8fnV7l6JffbFjhf1ufQqr7gh17CG/wAXsbHNf2C5hI59+wdZ04oJhxdcjp/Tt2h21uuQb/zyGC+Yv4aDLH/yVvUyZ527PgiyeEhJpEgAeX0SfzWLc5cbx30/LWNWYd5Jv5qTiRiVxcr8s3+XVi1f5mDJcjhe+0PcGe9j+TfsaYHOlBhmwlK1uV8zmFzYlIorU47OLu0CWFDNOmT2GRvFax9mKFmr/aS2UecVtCqe+e4/9hJCguQPdDqIpuRgFdkvtztPCuikFAvaUpLxhwyIfhSqiMDcKEZve55dmX2GAc6sRQ7hOO85inzM4GlF8HyNU29zchT0w/gMrqdxQfpzCbW9z8nfkQzWUwD0kNPVEIFTd6gm0GygcQtHn8QgX2FBEyutHqf3afQGDIG36gKNWi82td96D7RxRIDr0A6Qk1WGy/Khe4=
on:
tags: true
repo: stanford-oval/genie-toolkit
condition: '"${TRAVIS_JOB_NAME}" = Lint'
- provider: s3
bucket: "geniehai-public"
region: us-west-2
skip_cleanup: true
access_key_id:
secure: "jBi41JAwA16Up/8SxiimcEdJuh/QnHmyGV5mu/StHJYSdTRDFChkismutTX3f1Aw1czDJYTwKfsv2WIGCsa1QKJOTw4mvXtx1fn12CVRgLxZjpsNpvMohZd/NOQ62CxaITIMag0R5GAnCt+TaotgqM135YTRvkO/AHfmHhxRHFJ5+bnwYFY8J+bevHFuPHQQcXEOFdig/WE/ZPfkZ3SvkK2Texv/Gfm/3UjOgwn5dJjfHeqwT3jirANvy2N7+gAOKncdEwCUuyXLpcjpiX/EZNFVZ2ULbiVq2nBy8ef2bcBVo71cg6jv7ry4LENOWcHi82EVGntVTIqKGBcbT2KuGRRIRzetm/2J8bl48M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: master
repo: stanford-oval/genie-toolkit
condition: '"${TRAVIS_JOB_NAME}" = Lint'