forked from IBM-Blockchain/generator-fabric
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
80 lines (79 loc) · 2.6 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
#
# SPDX-License-Identifier: Apache-2.0
#
sudo: required
services:
- docker
language: node_js
jobs:
include:
-
stage: test
name: "Unit Tests"
os: linux
node_js: '8'
script: |
set -ex
npm audit
npm test
-
stage: test
name: "Unit Tests"
os: osx
node_js: '10'
script: |
set -ex
npm audit
npm test
-
stage: test
name: "Unit Tests"
os: windows
node_js: '10'
script: |
set -ex
npm audit
npm test
-
stage: test
name: "Integration Tests (Chaincode)"
os: linux
node_js: '8'
script: |
set -ex
npm audit
./scripts/run-integration-tests.sh chaincode_tests
-
stage: test
name: "Integration Tests (Contract)"
os: linux
node_js: '10'
script: |
set -ex
npm audit
./scripts/run-integration-tests.sh contract_tests
-
stage: test
name: "Integration Tests (Network)"
os: linux
node_js: '8'
script: |
set -ex
npm audit
./scripts/run-integration-tests.sh network_test
-
stage: deploy
os: linux
node_js: '8'
install: |
set -ex
script: |
set -ex
deploy:
provider: npm
email: [email protected]
api_key:
secure: R0rw2+Kzb8R80BrOZPIn513X6btR7SJs6BXzRuglrFynNr3pS8gXh3Nd0VshPIFOzp52ex+4XNh0J+uN1tWL18lGyhM8b+ple2BzQDySUrAI0s20E5fcr3TTSyojskDi86tP8wiRUyRFoLZO4JGxiqBTWgCqAGaKmoqEZbenpsUzfPKFxcGcpGXkBD5XWnysRFZvJrwpuXyr5PXfFZm9pxkYH1f+WbjIid5yu5pHB3gWI1pXvoD6BtTH+17QiAhEnGz0TMpeUPgcAQwdUtiNv1oMNWMqmSAvkowTaKnNysbDd7tszniX06dglFrUIuDAdend7neOzmo2ZebDAJ6184BYBSmRVbhEUXyn91/rWB9dO5QyaLefddOz5iUm5Ne6/wDED+zoog4n7jvBblz5wGlOKH3wxDwA2x3R3q9eJykayM+hC1TOINUWiZgY9hsAzm+dm0FktM+Ehwp6wHQ8WjMPjjSUABHRqhXa6d+NNuRDHY1lFRK7GuxIeCF+83wabndxdD9WpboWHp/tnwCnkmo0SiQDsss9AxyW90eSSTbM+OzMlTk7VE2gs0ZbGJiI3dqBJN+qhyZ/OS+/wN5Nl5M6RPXXmRF6PAwGyotHFMrC4C7+/z5IEBBQKGKy5vEtVIRukfXhm+B6svuyAsJ+z5xXoS8aKk01Lq+jzFcCxQU=
on:
tags: true
repo: IBM-Blockchain/generator-fabric