From 4394d27b411ed7e3f2bb21fecfb0aa5cf5250109 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Tue, 25 Sep 2018 15:30:24 +0200 Subject: [PATCH 1/4] Add Travis config Signed-off-by: Christoph Wurst --- .travis.yml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000000..4bbc4707e6d --- /dev/null +++ b/.travis.yml @@ -0,0 +1,8 @@ +language: node_js +cache: + directories: + - node_modules +node_js: +- node +script: +- npm run build From 4d54663eaff3712ba764e5cb2f470ce0ca0f379f Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Tue, 25 Sep 2018 15:34:13 +0200 Subject: [PATCH 2/4] Add basic deploy config Signed-off-by: Christoph Wurst --- .travis.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.travis.yml b/.travis.yml index 4bbc4707e6d..cb82b9b420c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,3 +6,9 @@ node_js: - node script: - npm run build +deploy: + provider: npm + skip_cleanup: true + email: tbd + on: + tags: true From 1319223f294a06db0d8f9a9f3a426cdbff91343f Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Tue, 25 Sep 2018 15:36:14 +0200 Subject: [PATCH 3/4] Only build pushes to master Signed-off-by: Christoph Wurst --- .travis.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.travis.yml b/.travis.yml index cb82b9b420c..864a41101ff 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,11 @@ node_js: - node script: - npm run build + +branches: + only: + - master + deploy: provider: npm skip_cleanup: true From 1d13041532845c9ddd8f7afc9376276190cb2ff0 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Tue, 25 Sep 2018 15:41:34 +0200 Subject: [PATCH 4/4] Complete Travis (deployment) config Fixes https://github.com/nextcloud/vue-components/issues/21 Signed-off-by: Christoph Wurst --- .travis.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 864a41101ff..8284653bd04 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,14 +6,14 @@ node_js: - node script: - npm run build - branches: only: - master - deploy: provider: npm skip_cleanup: true - email: tbd + email: christoph@winzerhof-wurst.at on: tags: true + api_key: + secure: BxQxW2DfphS9IP2tjZhVQCPPlwvHIJVB4T8wOqQ8rExiQIEMDc5/7JNh5/R3HS1Vn4XT/wXTpa8Pnytqtnrcxv13qwj8BVfO2ccSHGG/mpYFRaVkJb2ov0THAydBh4ESWyxPmivCO3Xm9gyxjhWBJtBjBY/+I+NqCKLd6kVVF7PsnGb7Vl1VUcJ/0y2/81mw52TC3ZRdkLTOxGL6FhKCoHsK7UoSyh2d13Pw8IM+FTTCH2GIAAKUmsU/q0xzcZd3bZhy35X5tOdh/PB0IsvqUFodAPsZpl9g9sw7CQfgV0e3VdFo+p4lK8s8I5LHbJTlF0W9m5DVCghDJRTVuW5nhZWmPrdxEYV+ddqE29Hq1lORQSEKXWZnsrwxvhWsaykM4aLWr7KDh82KOewoR5fYLUxKHa6mKm2rFiZbwrurxWIJl8mkQGLhRnIgaJrSsRYjLOV3ljrrIrLDd43UlE4iN9OlgDZ93k+CNRkO/U+K1YJIflI9UNheyMTACtn/W7YwCGG7Uo27McGtZfafSOy3zcIthptMeAxRwDaGG9VGsxuXzpBoNTIb1iMlLV0K344E9SLmMngLZfgAkAidqCdzCRVPeBmy022oGC+fIy8sMSzNpSadzMeDK5jJx7wOA/hlBnqwNcyJFaEaZvdeQA1Pu/PWoRiNfGlsKljUlGX6krc=