forked from flexera-public/policy_templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
29 lines (29 loc) · 1.29 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
language: ruby
cache:
directories:
- bundle
rvm:
- 2.4.1
bundler_args: "--without documentation --path bundle"
before_install:
- git fetch --depth=1
- gem install bundler
script:
- bundle exec danger --verbose
- bundle exec rake generate_policy_list
deploy:
- provider: s3
bucket: rs-policysync-tool
region: us-east-1
skip_cleanup: true
local_dir: "$TRAVIS_BUILD_DIR/$WORK_DIR/dist"
acl: public_read
access_key_id: "$POLICY_SYNC_TOOL_S3_AWS_ACCESS_KEY_ID"
secret_access_key: "$POLICY_SYNC_TOOL_S3_AWS_SECRET_ACCESS_KEY"
on:
branch: master
after_deploy:
- "./tools/travis/build_docs.sh"
env:
global:
secure: WED3uG/Ns10FSOMnE/bDgnRPUohq7w53pEl0apWXSqNJUlR7R76UK3whu0nq30Pnqj0DTiROkH+OgmtNAD1w5C2d8AKZKRDpbZQHK6HyvR8uyZr2pPfbKyPTAppO1Akn8Da4X9rs9fnY5p8cpUES9q2huC+/1rNkN7I4kHxF6RoGyOeYYHQJOSjUwjAnkvxfEjQDi+qD3ICXSFHTAIm2H4uFtMNDCJ+sVkhNzkjrfJuJ0u0lbdGRPi1sMcB1A5Uc4WwAdX5disQ/eiejTvfadJjljd1HAq2CMvVPiNBlsb30uf0oWi/H5K4SjTvsHJqgmqp01ngpSQoZuB5kEUnvKxfQb2HsOLO9wEQtVdZV/3hwcZhVVYoQhPHLSd7YIGdrzuGFenEErQJ0WRpfre/g1uBPCIsMPiO4t/2hJGdx3Ios3e/18fOfDa882num2C3cJTmyHZtYm8grp7nBGj7vI7wpco0ZQPEXvLBVwesYklqGQl0PbN2tI+zYxJJBU2rY1whUYBOpETszUMsbeW4LZemyOHNnY8mpiEh0b8pvbwQicxfDaTHEoLZYTpZgucISxyQU0bYsckb0+LGPlw9i6l6vKC7gpNeFKqNA/caxTDh2YauazdbJurSZU+GSCscXTLi8HiJ0TFD6lZs0k3wM7x7+rsySE8/qO7OLzIPYO+g=