diff --git a/.appveyor.yml b/.appveyor.yml new file mode 100644 index 00000000..2a3c6796 --- /dev/null +++ b/.appveyor.yml @@ -0,0 +1,37 @@ +image: Visual Studio 2017 Preview +version: 1.0.{build} +platform: x64 + +branches: + only: + - master + +skip_commits: + files: + - README.md + +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: + 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 + +#test_script: + +notifications: + - provider: Slack + auth_token: + secure: D6cxJ/Hs7jf2UnblHSkQi/XvBLrBjg6ElBAOrOd8752O/iboRfyaZRyRbY3dqzq9LCY9/OFH4yrYZ29cKu981WjR5Vr18sNqDzjQIIvygYA= + channel: notifications + on_build_success: true + on_build_failure: true + on_build_status_changed: false 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 # ==============================================================================