-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
26 lines (26 loc) · 3.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
sudo: required
dist: xenial
# https://docs.travis-ci.com/user/job-lifecycle/
before_install:
- sudo apt update -y
- sudo apt install -y awscli
- export PATH=$PATH:$HOME/.local/bin
install:
- mkdir -p ~/.local/lib && mkdir -p ~/.local/bin
- git clone https://$PV_OAUTH_TOKEN@github.com/polyverse-security/pv ~/.local/lib/pv
- ln -s ~/.local/lib/pv/pv ~/.local/bin/pv
script:
- ./build.sh || travis_terminate 1;
- ./tests/test.sh --json tests/post-build.json || travis_terminate 1;
- ./test.sh || travis_terminate 1;
- ./deploy.sh || travis_terminate 1;
env:
global:
- AWS_DEFAULT_REGION=us-west-2
- PV_BASE_URL=https://repo-staging.polyverse.io/cli
- secure: "k/W6KxJFN+aeplN16SgFtSghmJ+HEw2KMZ8MriDs833+e3NjH8c6VBhbYaEu2tNSiMVMBotMZic1FFy829/2yfDxZ1bUUkG0R5GtXd1kUeyGJa1x0RuwD9vxS0wc2WDZf03FyGBqdXxQN7V1X3qU+m0Sg3zikZzHKHJPgbsoPgGyppOllwz7gH6VPAZLlJ2A+3H+OtvOvlk+TH/+Nc8Zbp9404QBxbemSgK0CvcZ8IK9YR3V3jWi9w5cc+UTQvIkRH8QgQdbvCTl+KquDfTt1TgCXfN+nqPe6VAlaIZYHpeZxtKgSb9a4CIs5wnMpSJmZgXFxXFsHijdmWL9e6d7kvOLR8U5O1oz1h8LBcqLFWJibcuQ0zlMKxhQ1LhEnmN7ASVy8IJtouLo+fQi61SHdqZrIC0w2q6IUI2iFkaAH7Q8Pmx9hBSZuL6u3X24UzJcHZXsLhNkduimJzBMILWR6ZQz0yTJ1B9LtsboNeg0XyYGx0AfQ3hfRc1U+gyoIft6RH/OcOokvfPgMe18W/+KQrKg5Cqh463ZOLKKklUPgrSo9bisgxY2E6+O7R2jlV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