Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
inspectionreportgenerator/.travis.yml
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
44 lines (39 sloc)
967 Bytes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo: required | |
language: go | |
go: | |
- tip | |
before_install: | |
- travis_retry curl -sf https://up.apex.sh/install | sudo sh | |
- sudo up upgrade | |
install: | |
- sudo apt-get install jq -y | |
script: | |
- true # avoid default make command | |
matrix: | |
include: | |
- env: DEPLOY=dev | |
if: branch = master | |
deploy: | |
provider: script | |
skip_cleanup: true | |
script: make | |
on: | |
branch: master | |
- env: DEPLOY=demo | |
if: branch = master | |
deploy: | |
provider: script | |
skip_cleanup: true | |
script: AWS_ACCESS_KEY_ID=$AWS_915001051872_ID AWS_SECRET_ACCESS_KEY=$AWS_915001051872_SECRET make demo | |
on: | |
branch: master | |
- env: DEPLOY=prod | |
if: tag IS present | |
deploy: | |
provider: script | |
skip_cleanup: true | |
script: AWS_ACCESS_KEY_ID=$AWS_192458993663_ID AWS_SECRET_ACCESS_KEY=$AWS_192458993663_SECRET make prod | |
on: | |
tags: true | |
env: | |
- GO111MODULE=on |