-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy path.travis.yml
62 lines (58 loc) · 1.42 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
##
## Copyright (c) 2019 SAP SE or an SAP affiliate company. All rights reserved.
##
## This file is part of ewm-cloud-robotics
## (see https://github.com/SAP/ewm-cloud-robotics).
##
## This file is licensed under the Apache Software License, v. 2 except as noted otherwise in the LICENSE file (https://github.com/SAP/ewm-cloud-robotics/blob/main/LICENSE)
##
git:
depth: 1
install:
- echo "SKIP."
stages:
- name: ewm-sim-node-tests
- name: scan-modules
- name: release
if: tag =~ /(^v?[0-9]+(\.[0-9]+)+)((-.*)|$)/
jobs:
include:
## ewm-sim-node-tests
- stage: ewm-sim-node-tests
name: "ewm-sim mocha tests"
language: node_js
node_js:
- 14.15.0
install:
- cd nodejs/ewm-sim
- npm install
script:
- npm run test
after_success:
- npm run coverage
## scan-modules
- stage: scan-modules
name: "WhiteSource Scans"
language: python
dist: xenial
python: "3.7"
services:
- docker
script: sh ./scripts/whitesource.sh
- stage: scan-modules
name: "Bandit Scans"
language: python
dist: xenial
python: "3.7"
services:
- docker
script: sh ./scripts/bandit.sh
## release-images
- stage: release
name: "Docker Image Releases"
language: python
dist: xenial
python: "3.7"
services:
- docker
script: sh ./ci/release.sh