From cf182f4b6a70048376f73cc7958a4cf8ca410604 Mon Sep 17 00:00:00 2001 From: ibaraness Date: Tue, 21 May 2019 15:59:42 +0300 Subject: [PATCH 01/10] added travis config file --- .travis.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..c084491 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,12 @@ +language: node_js +node_js: + - "9" +dist: trusty +sudo: required +branches: + only: + - master + +script: +- npm run test +- npm run build From 7c2cb35f48bfe697129e3b97e4823b9e2da719a6 Mon Sep 17 00:00:00 2001 From: ibaraness Date: Tue, 21 May 2019 16:08:08 +0300 Subject: [PATCH 02/10] removed test from travis for now --- .travis.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index c084491..2e88ffb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,5 +8,4 @@ branches: - master script: -- npm run test - npm run build From 59e24f32a70c768ff56d945455e5f9e5205ff4a3 Mon Sep 17 00:00:00 2001 From: ibaraness Date: Tue, 21 May 2019 16:55:16 +0300 Subject: [PATCH 03/10] adding yarn --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 2e88ffb..6c6b829 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,7 @@ sudo: required branches: only: - master - +before_script: + - npm install -g yarn script: - npm run build From a0374d49bfcda82f7902774bb43f8f042c14afc5 Mon Sep 17 00:00:00 2001 From: ibaraness Date: Tue, 21 May 2019 18:01:00 +0300 Subject: [PATCH 04/10] install witjout scripts --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 6c6b829..c91582b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,6 +7,6 @@ branches: only: - master before_script: - - npm install -g yarn + - npm install --ignore-scripts script: - npm run build From 7a563f0b239d27c3d9d5b07f85dd2d797d35ee46 Mon Sep 17 00:00:00 2001 From: ibaraness Date: Tue, 21 May 2019 18:18:54 +0300 Subject: [PATCH 05/10] Added before install script --- .travis.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index c91582b..2a26f02 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,8 @@ sudo: required branches: only: - master -before_script: +before_install: - npm install --ignore-scripts + - npm run build script: -- npm run build + From 83811e7b8a0efb454df14765efaa3ef609aef25c Mon Sep 17 00:00:00 2001 From: ibaraness Date: Tue, 21 May 2019 18:24:44 +0300 Subject: [PATCH 06/10] babel plugin to fixi error --- .travis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.travis.yml b/.travis.yml index 2a26f02..07b618f 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,6 +8,8 @@ branches: - master before_install: - npm install --ignore-scripts + - npm install --save-dev babel-plugin-transform-runtime + - npm install --save-dev babel-preset-stage-2 - npm run build script: From a568cef9b0d6eb45c62076ef7e0cd3c3917cfb09 Mon Sep 17 00:00:00 2001 From: ibaraness Date: Wed, 22 May 2019 14:19:17 +0300 Subject: [PATCH 07/10] Updated travis config to run with yarn --- .travis.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index 07b618f..4b4989b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,9 +7,7 @@ branches: only: - master before_install: - - npm install --ignore-scripts - - npm install --save-dev babel-plugin-transform-runtime - - npm install --save-dev babel-preset-stage-2 + - yarn install --ignore-scripts - npm run build script: From d588edec767de30cf1f70943469af010a1e81012 Mon Sep 17 00:00:00 2001 From: ibaraness Date: Wed, 22 May 2019 14:20:38 +0300 Subject: [PATCH 08/10] Fixed npm build typo --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 4b4989b..6df5c79 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,6 +8,6 @@ branches: - master before_install: - yarn install --ignore-scripts - - npm run build + - yarn run build script: From 74fbd9f6c113255ac11754b0c72a97665e5da320 Mon Sep 17 00:00:00 2001 From: ibaraness Date: Wed, 22 May 2019 14:23:00 +0300 Subject: [PATCH 09/10] Added babel-plugin-transform-runtime --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 6df5c79..991b1d4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,6 +8,7 @@ branches: - master before_install: - yarn install --ignore-scripts + - yarn add --dev babel-plugin-transform-runtime - yarn run build script: From e4a171ff881a8a7330054b561b1ef6d52d66e1c9 Mon Sep 17 00:00:00 2001 From: ibaraness Date: Wed, 22 May 2019 14:31:26 +0300 Subject: [PATCH 10/10] Added ignore scripts to yarn add --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 991b1d4..5ffe873 100644 --- a/.travis.yml +++ b/.travis.yml @@ -8,7 +8,7 @@ branches: - master before_install: - yarn install --ignore-scripts - - yarn add --dev babel-plugin-transform-runtime + - yarn add --dev babel-plugin-transform-runtime --ignore-scripts - yarn run build script: