Skip to content

Instantly share code, notes, and snippets.

@endam
Last active October 1, 2017 08:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save endam/656613ce9642cea9912afa33f5c6b7f2 to your computer and use it in GitHub Desktop.
Save endam/656613ce9642cea9912afa33f5c6b7f2 to your computer and use it in GitHub Desktop.
.travis.yml (berks package & s3 upload)
branches:
only:
- master
- stage
- develop
addons:
artifacts:
s3_region: "ap-northeast-1"
paths:
- $TRAVIS_BRANCH.tar.gz
target_paths: "./"
language: generic
install:
- rvm use 2.3 --install --binary --fuzzy
- gem install berkshelf
script:
- berks package "${TRAVIS_BRANCH}.tar.gz"
branches:
only:
- master
- stage
- develop
addons:
artifacts:
s3_region: "ap-northeast-1"
paths:
- $TRAVIS_BRANCH.tar.gz
target_paths: "./"
s3_region: "ap-northeast-1"
paths:
- $TRAVIS_BRANCH.tar.gz
target_paths: "./"
language: generic
install:
- rvm use 2.3 --install --binary --fuzzy
- gem install berkshelf
script:
- berks package "${TRAVIS_BRANCH}.tar.gz"
install:
- rvm use 2.3 --install --binary --fuzzy
- gem install berkshelf
script:
- berks package "${TRAVIS_BRANCH}.tar.gz"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment