From edaa77663f9d247fa477eabb6bde185d7ce20037 Mon Sep 17 00:00:00 2001 From: Kevin van Zonneveld Date: Tue, 17 Nov 2015 11:28:56 +0100 Subject: [PATCH 1/5] Deploy to s3 bucket --- .travis.yml | 23 +++++++++++++++++++++++ build/index.html | 9 +++++++++ 2 files changed, 32 insertions(+) create mode 100644 .travis.yml create mode 100644 build/index.html diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000000..04ada4e449 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,23 @@ +language: node_js + +node_js: +- 4.2.2 + +before_script: echo "Build the project : )" + +script: echo "Tested : )" + +deploy: + acl : public_read + bucket : hackathon.transloadit.com + cache_control : no-cache + local-dir : build + provider : s3 + skip_cleanup : true + upload-dir : transloadit-js-client/$TRAVIS_BRANCH + access_key_id : AKIAI45MV2S7O67ZPLXA + secret_access_key: + secure: k+T/4s49gdbNftD8HSyfUU2UoF1His/11Fu5YcZjUTfjtroqozqf7JV7nW7hB86wkHzXamS/0SlsEhC/P7bgJ3jnrzQfoSFZDr3lJSMBsiVqwzTnyltqrerWqZQNYvcdu9sUOH6UCOpVjKZYB71k84gmgeSmPlyyH0ukziYex/bhs3qyaaix8GkyP58C9Z2PssIew6s/mVNYveidgWdMe3OxMVvfwYHlZ8euJ8QDvGWlKj/9Hh3W/BW6BcTmnzZONf8c4me0C0gZ6HbLtYCfkUB1r1mvKRiLviOOnFHzmNhM/7a+srgaPgY8CF0dQ7dO1wN5k8ClrF33jytFWz2R4ZZgzKzWxYgZ7tisqTjhBlbcKBDJNw05Y6bu7Fiyyw7HY1/mibK+Fu7Rfvt6ZBjDVJtmXiLSMT2vD1rMLUa+MyDCIyG2iNARThbj0aQbrkVjviYYXqG/2vQjKWlqJ9Sus0v0Y/jqkVwpviohGd2F2iPEqBexLYgBaxU/LgTBTYAKJ0SzKosRAW4dYxm6dnWABV1v7oxIUJAKvt51haNGqTO4a87UzAHa4ND2nZBYLWdKoGCKWmV3DBtI/ha2Re6gO2HoK95S3ZRV8hfT3Nzt2wONNtiObuuv7U+osh62wvX5Rj0XHb/sV3vopjJpanmm+zYWtI/+k/+453XNMOIXmBA= + on: + repo: transloadit/transloadit-js-client + all_branches: true diff --git a/build/index.html b/build/index.html new file mode 100644 index 0000000000..cc28c7fe6f --- /dev/null +++ b/build/index.html @@ -0,0 +1,9 @@ + + + + + + + + + From 30777230ea00cd20bd5129a84c5af0222b127607 Mon Sep 17 00:00:00 2001 From: Kevin van Zonneveld Date: Tue, 17 Nov 2015 11:30:48 +0100 Subject: [PATCH 2/5] Quote values --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 04ada4e449..eb977a2e61 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,9 +3,9 @@ language: node_js node_js: - 4.2.2 -before_script: echo "Build the project : )" +before_script: "echo 'Build the project : )'" -script: echo "Tested : )" +script: "echo 'Tested : )'" deploy: acl : public_read From 322cfc0c1d4d5aadb04b6287f1a66d38dbfae089 Mon Sep 17 00:00:00 2001 From: Kevin van Zonneveld Date: Tue, 17 Nov 2015 11:36:23 +0100 Subject: [PATCH 3/5] Show branch in title --- build/index.html | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/build/index.html b/build/index.html index cc28c7fe6f..56f1661d08 100644 --- a/build/index.html +++ b/build/index.html @@ -1,9 +1,22 @@ - + + If you see this, JavaScript threw an error + +

+ If you see this, JavaScript threw an error +

+ From 239210d265cbfb622a55e33a61ff35fab28167c0 Mon Sep 17 00:00:00 2001 From: Kevin van Zonneveld Date: Tue, 17 Nov 2015 11:42:43 +0100 Subject: [PATCH 4/5] Add a footer with convenience links --- build/index.html | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/build/index.html b/build/index.html index 56f1661d08..1469958a1d 100644 --- a/build/index.html +++ b/build/index.html @@ -9,6 +9,14 @@

If you see this, JavaScript threw an error

+ +