ensure branch and set cache to discourse/vendor

This commit is contained in:
Rimian Perkins 2017-02-24 14:09:21 +11:00
parent 427ac013af
commit 0c1646572e
1 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ env:
dist: trusty dist: trusty
cache: bundler cache: bundler --path $TRAVIS_BUILD_DIR/discourse/vendor
addons: addons:
postgresql: 9.5 postgresql: 9.5
@ -29,7 +29,7 @@ before_install:
install: install:
- touch config/stripe.yml - touch config/stripe.yml
- git clone $TRAVIS_BUILD_DIR plugins/discourse-payments --depth 50 - git clone $TRAVIS_BUILD_DIR plugins/discourse-payments --depth 50 --branch $TRAVIS_BRANCH
before_script: before_script:
- gem install bundler - gem install bundler