From 669aba65491c7e8658b4ddb71b5a7a1303d2c5ee Mon Sep 17 00:00:00 2001 From: Rimian Perkins Date: Fri, 24 Feb 2017 13:28:11 +1100 Subject: [PATCH 1/7] link instead of check out master --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index d2d2b29..22fa249 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,7 +29,7 @@ before_install: install: - touch config/stripe.yml - - git clone https://github.com/choiceaustralia/discourse-payments.git plugins/discourse-payments --depth=1 + - ln -s ../discourse-payments plugins/discourse-payments before_script: - gem install bundler From bf6a1be87baff047a1dc334f40003a663931f50e Mon Sep 17 00:00:00 2001 From: Rimian Perkins Date: Fri, 24 Feb 2017 13:29:35 +1100 Subject: [PATCH 2/7] update name --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 22fa249..47b887e 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,7 +29,7 @@ before_install: install: - touch config/stripe.yml - - ln -s ../discourse-payments plugins/discourse-payments + - ln -s ../discourse-donations plugins/discourse-donations before_script: - gem install bundler From 0429c15a05b201a9bc749c6141d21cbd29fe5eb6 Mon Sep 17 00:00:00 2001 From: Rimian Perkins Date: Fri, 24 Feb 2017 13:35:18 +1100 Subject: [PATCH 3/7] folder name yo --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 47b887e..dd571f9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,7 +29,7 @@ before_install: install: - touch config/stripe.yml - - ln -s ../discourse-donations plugins/discourse-donations + - ln -s ../discourse-donations plugins/discourse-payments before_script: - gem install bundler From 210da8ca7ff5069439d21c70a51a1c8df04685e7 Mon Sep 17 00:00:00 2001 From: Rimian Perkins Date: Fri, 24 Feb 2017 13:52:56 +1100 Subject: [PATCH 4/7] finx ls --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index dd571f9..e74d299 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,7 +29,7 @@ before_install: install: - touch config/stripe.yml - - ln -s ../discourse-donations plugins/discourse-payments + - ln -s ../discourse-donations plugins before_script: - gem install bundler From 1f3347a8e1a8c97d339396e7690bdf71973ce205 Mon Sep 17 00:00:00 2001 From: Rimian Perkins Date: Fri, 24 Feb 2017 13:58:50 +1100 Subject: [PATCH 5/7] list dirs --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index e74d299..05d149d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,6 +29,8 @@ before_install: install: - touch config/stripe.yml + - ls -l + - ls -l ../ - ln -s ../discourse-donations plugins before_script: From 427ac013af8137abe394472f7ff4aa4e3b1127dd Mon Sep 17 00:00:00 2001 From: Rimian Perkins Date: Fri, 24 Feb 2017 14:04:04 +1100 Subject: [PATCH 6/7] clone it --- .travis.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 05d149d..1356583 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,9 +29,7 @@ before_install: install: - touch config/stripe.yml - - ls -l - - ls -l ../ - - ln -s ../discourse-donations plugins + - git clone $TRAVIS_BUILD_DIR plugins/discourse-payments --depth 50 before_script: - gem install bundler From 0c1646572e7a409c2ffca1cfedfa717304273837 Mon Sep 17 00:00:00 2001 From: Rimian Perkins Date: Fri, 24 Feb 2017 14:09:21 +1100 Subject: [PATCH 7/7] 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