2015-05-28 11:15:25 -06:00
|
|
|
version: "{build}"
|
2017-06-11 10:38:12 -06:00
|
|
|
image: Visual Studio 2017
|
2015-05-28 11:15:25 -06:00
|
|
|
|
|
|
|
test: off
|
|
|
|
deploy: off
|
|
|
|
|
2015-05-30 19:32:54 -06:00
|
|
|
environment:
|
|
|
|
global:
|
|
|
|
# SDK v7.0 MSVC Express 2008's SetEnv.cmd script will fail if the
|
|
|
|
# /E:ON and /V:ON options are not enabled in the batch script intepreter
|
|
|
|
# See: http://stackoverflow.com/a/13751649/163740
|
|
|
|
CMD_IN_ENV: "cmd /E:ON /V:ON /C .\\appveyor\\run_with_env.cmd"
|
2018-01-05 22:04:01 -07:00
|
|
|
PATH: C:\Ruby23\bin;C:\Ruby23-x64\DevKit\mingw\bin;C:\Python27;C:\Python27\Scripts;%PATH%
|
2015-05-30 19:32:54 -06:00
|
|
|
|
2015-05-28 11:15:25 -06:00
|
|
|
init:
|
|
|
|
- cmd: rd /s /q %CHOCOLATEYINSTALL%
|
|
|
|
- ps: iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1'))
|
|
|
|
|
|
|
|
install:
|
2018-01-05 22:04:01 -07:00
|
|
|
- cinst packages.config -y
|
|
|
|
- refreshenv
|
2015-05-28 11:58:07 -06:00
|
|
|
- apm install
|
2015-05-30 19:32:54 -06:00
|
|
|
|
2018-01-05 22:04:01 -07:00
|
|
|
# https://packaging.python.org/guides/supporting-windows-using-appveyor/
|
|
|
|
- pip install -r requirements.txt
|
2015-05-30 19:32:54 -06:00
|
|
|
|
2018-01-05 22:04:01 -07:00
|
|
|
# Gemfile Install
|
2018-06-25 12:17:39 -06:00
|
|
|
- set PATH=C:\Ruby24-x64\bin;%PATH%
|
|
|
|
- ruby -v
|
|
|
|
- gem update --system
|
2018-01-05 22:04:01 -07:00
|
|
|
- bundle install
|
2016-04-10 11:57:24 -06:00
|
|
|
|
2015-05-28 11:58:07 -06:00
|
|
|
# PHP
|
2017-02-14 03:58:53 -07:00
|
|
|
- ps: Set-Service wuauserv -StartupType Manual
|
2015-06-08 08:52:30 -06:00
|
|
|
# PHP-CS-Fixer
|
2018-01-05 22:04:01 -07:00
|
|
|
- composer install
|
2015-06-08 13:34:21 -06:00
|
|
|
|
2016-04-13 17:19:36 -06:00
|
|
|
# elm-format
|
2018-01-05 22:04:01 -07:00
|
|
|
- npm install -g elm-format@exp
|
|
|
|
|
2015-05-28 11:15:25 -06:00
|
|
|
build_script:
|
2015-06-06 20:01:27 -06:00
|
|
|
|
2015-05-28 11:28:36 -06:00
|
|
|
# Install languages to Atom
|
2018-01-05 22:04:01 -07:00
|
|
|
- apm install --packages-file atom-packages.txt
|
2015-05-28 11:28:36 -06:00
|
|
|
# Run tests on package
|
2016-04-14 03:48:49 -06:00
|
|
|
#- "%LOCALAPPDATA%\\atom\\bin\\atom.cmd --test spec"
|
|
|
|
- apm test --path %LOCALAPPDATA%/atom/bin/atom.cmd
|