forked from XiaoningLiu/autorest.typescript.server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
50 lines (44 loc) · 1.23 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
language: node_js
sudo: required
node_js:
- "8"
cache:
directories:
- $HOME/.npm
stages:
- test
jobs:
include:
- stage: test
env: CHECK_NAME="Typecheck"
install: npm install --ignore-scripts
script: gulp testci/typecheck
- env: CHECK_NAME="Node.js Tests"
install: npm install --ignore-scripts
script: gulp testci/nodejs-unit
# - env: CHECK_NAME="Chrome Tests"
# addons:
# chrome: stable
# install: npm install --ignore-scripts
# script: gulp testci/chrome-unit
- env: CHECK_NAME=".NET Core Unit Tests"
install:
# dotnet 2.0 prereq
- sudo apt-get install libunwind8
- npm install
script: npm run testci/generator-unit
- env: CHECK_NAME="Regenerate Vanilla"
install:
# dotnet 2.0 prereq
- sudo apt-get install libunwind8
- npm install
script: gulp testci/regenerate-ts
- env: CHECK_NAME="Regenerate Azure"
install:
# dotnet 2.0 prereq
- sudo apt-get install libunwind8
- npm install
script: gulp testci/regenerate-tsazure
- env: CHECK_NAME="Generate Metadata Flag"
install: npm install --ignore-scripts
script: gulp testci/metadata