From 0c1646572e7a409c2ffca1cfedfa717304273837 Mon Sep 17 00:00:00 2001 From: Rimian Perkins Date: Fri, 24 Feb 2017 14:09:21 +1100 Subject: [PATCH] ensure branch and set cache to discourse/vendor --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1356583..b7a17ac 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,7 @@ env: dist: trusty -cache: bundler +cache: bundler --path $TRAVIS_BUILD_DIR/discourse/vendor addons: postgresql: 9.5 @@ -29,7 +29,7 @@ before_install: install: - 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: - gem install bundler