This repository has been archived by the owner on Jan 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
55 lines (46 loc) · 2.76 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
# Copyright 2018 VMware, Inc.
# SPDX-License-Identifier: BSD-2-Clause
dist: "xenial"
install:
- yarn install
- pip3 install --upgrade pip
- pip3 install --user -r requirements.txt
- curl -sfL https://raw.githubusercontent.com/securego/gosec/master/install.sh | sh -s -- -b $GOPATH/bin 1.3.0
- export GOPATH=$GOPATH:${TRAVIS_BUILD_DIR}/test/fixtures/go:${TRAVIS_BUILD_DIR}/cache/go
- yarn global add codecov
script:
- yarn test
- codecov
language: node_js
node_js:
- "10"
addons:
apt:
packages:
- "python3"
- "python3-pip"
- "python3-setuptools"
notifications:
disabled: true
# For reference see:
# https://docs.travis-ci.com/user/deployment/heroku/
# https://docs.travis-ci.com/user/deployment/
deploy:
# The section below tells Travis to deploy to the dev-precaution dyno (Heroku application)
# whenever a successful build is created on the master branch.
- provider: heroku
api_key:
secure: 0d0zoGySiD6vywyrOWE2384y2s/sNE8KOTiEwKT7XBFWNmDfQPFRepTbgs0YffydjVFlLuTeziyio0Er+u6EgqfFdRP/9Sy33hkzhV/IWLJhwTyUsh/CFHOlS8z7OJhviemCd7+CpYdf+dBhiHF8zEKGqfhXyqUd5oYLXVxY8t1z69GpHYLm4UR024tyaVNY/M/3sEkKm2qVcHYvqFpTA0CIKBTwE3r3qfS38eQM2chLin7cGVimuRcGfk7PI1kRtJWZtyaslxKQtWXEwFBAkGxH26OomoJBfCg98XlEWEy6koZY0EyToHKxJGWGcNM/JKKWJ6uIdsh8ghfh6++VUMd1d7xlYHi6W30X5BP/kTuLf0sVyvLuq+KuTJWn2KeWQI/ULSxZzdv0Hl731KoLt819f1EBb+dvx5znYZkqJgNGLQsrYZhbm0p4dKlT4QtKlyklsaaEsDtaqotFtEHo2PEBuTBvvKKYDTb0VIgvMBgEzhUn5GhFhRfWwFpS12vGCfpUbaoA+KgyuqZKdqkjvAr2ehg9Eo3jthsojGKSd71sASBSTfKG5H9/YS/rmfOu7PssLkaVseaR6rV2gITVMClgLdw2nqBwx0muNFscMy5/C+K7SwAyfz0AqCqhhRaIgqOwKanj44YN3BuJyf6aX+hKBXMUAQLyQ3SO5KUb750=
app:
master: dev-precaution
# The section below tells Travis to deploy to the precaution dyno (Heroku application)
# whenever a successful build is created on the master branch and the commit is tagged.
- provider: heroku
api_key:
secure: 0d0zoGySiD6vywyrOWE2384y2s/sNE8KOTiEwKT7XBFWNmDfQPFRepTbgs0YffydjVFlLuTeziyio0Er+u6EgqfFdRP/9Sy33hkzhV/IWLJhwTyUsh/CFHOlS8z7OJhviemCd7+CpYdf+dBhiHF8zEKGqfhXyqUd5oYLXVxY8t1z69GpHYLm4UR024tyaVNY/M/3sEkKm2qVcHYvqFpTA0CIKBTwE3r3qfS38eQM2chLin7cGVimuRcGfk7PI1kRtJWZtyaslxKQtWXEwFBAkGxH26OomoJBfCg98XlEWEy6koZY0EyToHKxJGWGcNM/JKKWJ6uIdsh8ghfh6++VUMd1d7xlYHi6W30X5BP/kTuLf0sVyvLuq+KuTJWn2KeWQI/ULSxZzdv0Hl731KoLt819f1EBb+dvx5znYZkqJgNGLQsrYZhbm0p4dKlT4QtKlyklsaaEsDtaqotFtEHo2PEBuTBvvKKYDTb0VIgvMBgEzhUn5GhFhRfWwFpS12vGCfpUbaoA+KgyuqZKdqkjvAr2ehg9Eo3jthsojGKSd71sASBSTfKG5H9/YS/rmfOu7PssLkaVseaR6rV2gITVMClgLdw2nqBwx0muNFscMy5/C+K7SwAyfz0AqCqhhRaIgqOwKanj44YN3BuJyf6aX+hKBXMUAQLyQ3SO5KUb750=
app: precaution
on:
# "all_branches" here is necessary because of the following limitation:
# https://docs.travis-ci.com/user/deployment/heroku/#conditional-deploys
all_branches: true
tags: true