From 6165749d7cc6ccaddd23f08d9388bebcac5bf1a8 Mon Sep 17 00:00:00 2001 From: Sergii Bondarenko Date: Wed, 25 Apr 2018 02:31:37 +0400 Subject: [PATCH 1/8] #130: [skip ci] Add basic configuration --- .appveyor.yml | 27 +++++++++++++++++++ .gitignore | 1 + .../install-on-wsl/wsl-provision.sh | 3 ++- 3 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 .appveyor.yml diff --git a/.appveyor.yml b/.appveyor.yml new file mode 100644 index 00000000..d9c8cefa --- /dev/null +++ b/.appveyor.yml @@ -0,0 +1,27 @@ +image: Visual Studio 2017 +build: off +version: '{build}' +platform: x64 + +skip_commits: + files: + - README.md +# message: /\[skip ci\]/ + +# There's no need to alter the build number for a Pull Request (PR) +# since they don't modify anything. +pull_requests: + do_not_increment_build_number: true + +install: + - ps: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux + - ps: Invoke-WebRequest -Uri https://aka.ms/wsl-ubuntu-1604 -OutFile ~/Ubuntu1604.zip -UseBasicParsing + - ps: Expand-Archive ~/Ubuntu1604.zip ~/Ubuntu + +#test_script: + +notifications: + - provider: Slack + auth_token: + secure: 2CRn8pK+wW0y2WfQFQU6dINb4IRbiJdUQhHwlV4oTjChqfhWifADCsy5Ne92vt1I + channel: notifications diff --git a/.gitignore b/.gitignore index b4cc352d..63a04ae7 100644 --- a/.gitignore +++ b/.gitignore @@ -36,6 +36,7 @@ matrix/* !.eslint* !.version !.codespellignore +!.appveyor.yml !.rubocop.yml !.travis.yml diff --git a/docs/_documentation/install-on-wsl/wsl-provision.sh b/docs/_documentation/install-on-wsl/wsl-provision.sh index 02cdb7ce..e44a84a0 100644 --- a/docs/_documentation/install-on-wsl/wsl-provision.sh +++ b/docs/_documentation/install-on-wsl/wsl-provision.sh @@ -97,7 +97,8 @@ pip --version # ============================================================================== # Install Ansible. -has ansible || sudo pip install ansible +# @todo See lib/variables.py +has ansible || sudo pip install ansible==2.5.0 ansible --version # ============================================================================== From 636ecff8d0150e4b40ee4667edbf5a1794b97711 Mon Sep 17 00:00:00 2001 From: Sergii Bondarenko Date: Wed, 25 Apr 2018 02:40:37 +0400 Subject: [PATCH 2/8] #130: Update config --- .appveyor.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index d9c8cefa..01527922 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -1,6 +1,6 @@ image: Visual Studio 2017 build: off -version: '{build}' +version: 1.0.{build} platform: x64 skip_commits: @@ -8,6 +8,9 @@ skip_commits: - README.md # message: /\[skip ci\]/ +build: + verbosity: normal + # There's no need to alter the build number for a Pull Request (PR) # since they don't modify anything. pull_requests: @@ -23,5 +26,8 @@ install: notifications: - provider: Slack auth_token: - secure: 2CRn8pK+wW0y2WfQFQU6dINb4IRbiJdUQhHwlV4oTjChqfhWifADCsy5Ne92vt1I + secure: D6cxJ/Hs7jf2UnblHSkQi/XvBLrBjg6ElBAOrOd8752O/iboRfyaZRyRbY3dqzq9LCY9/OFH4yrYZ29cKu981WjR5Vr18sNqDzjQIIvygYA= channel: notifications + on_build_success: true + on_build_failure: true + on_build_status_changed: false From 7afef1db66441df1fdbc80ab955ec8168985a7cc Mon Sep 17 00:00:00 2001 From: Sergii Bondarenko Date: Wed, 25 Apr 2018 02:41:39 +0400 Subject: [PATCH 3/8] #130: [skip ci] Update config --- .appveyor.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.appveyor.yml b/.appveyor.yml index 01527922..a0ea400c 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -6,7 +6,6 @@ platform: x64 skip_commits: files: - README.md -# message: /\[skip ci\]/ build: verbosity: normal From aa7f2f311f861559f079622d596eb32e402365a4 Mon Sep 17 00:00:00 2001 From: Sergii Bondarenko Date: Wed, 25 Apr 2018 02:42:27 +0400 Subject: [PATCH 4/8] #130: Trigger build From 8d6f84c41c869645c0b5bfce588fa1784e4af0c7 Mon Sep 17 00:00:00 2001 From: Sergii Bondarenko Date: Wed, 25 Apr 2018 02:44:07 +0400 Subject: [PATCH 5/8] #130: Update config --- .appveyor.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.appveyor.yml b/.appveyor.yml index a0ea400c..acef31f4 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -1,5 +1,4 @@ image: Visual Studio 2017 -build: off version: 1.0.{build} platform: x64 From a27a6a3eff4faa06650e318ebae5ff2e74841dce Mon Sep 17 00:00:00 2001 From: Sergii Bondarenko Date: Wed, 25 Apr 2018 02:48:58 +0400 Subject: [PATCH 6/8] #130: Update config --- .appveyor.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.appveyor.yml b/.appveyor.yml index acef31f4..296bef58 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -15,6 +15,8 @@ pull_requests: do_not_increment_build_number: true install: + - ps: systeminfo | Select-String "^OS Name", "^OS Version" + # https://docs.microsoft.com/en-us/windows/wsl/install-on-server - ps: Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux - ps: Invoke-WebRequest -Uri https://aka.ms/wsl-ubuntu-1604 -OutFile ~/Ubuntu1604.zip -UseBasicParsing - ps: Expand-Archive ~/Ubuntu1604.zip ~/Ubuntu From a7b5a321d35c9887b05b5c140e6471e872b9f327 Mon Sep 17 00:00:00 2001 From: Sergii Bondarenko Date: Wed, 25 Apr 2018 02:54:40 +0400 Subject: [PATCH 7/8] #130: Update config --- .appveyor.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.appveyor.yml b/.appveyor.yml index 296bef58..534f29bd 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -2,6 +2,10 @@ image: Visual Studio 2017 version: 1.0.{build} platform: x64 +branches: + only: + - master + skip_commits: files: - README.md From eb18a1476f9437e788ff5c458880e9c1e32bb05d Mon Sep 17 00:00:00 2001 From: Sergii Bondarenko Date: Wed, 25 Apr 2018 02:57:07 +0400 Subject: [PATCH 8/8] #130: Update config --- .appveyor.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.appveyor.yml b/.appveyor.yml index 534f29bd..2a3c6796 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -1,4 +1,4 @@ -image: Visual Studio 2017 +image: Visual Studio 2017 Preview version: 1.0.{build} platform: x64