atom-beautify/appveyor.yml

48 lines
1.2 KiB
YAML
Raw Permalink Normal View History

version: "{build}"
image: Visual Studio 2017
test: off
deploy: off
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%
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
- apm install
2018-01-05 22:04:01 -07:00
# https://packaging.python.org/guides/supporting-windows-using-appveyor/
- pip install -r requirements.txt
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
# PHP
- ps: Set-Service wuauserv -StartupType Manual
# PHP-CS-Fixer
2018-01-05 22:04:01 -07:00
- composer install
2016-04-13 17:19:36 -06:00
# elm-format
2018-01-05 22:04:01 -07:00
- npm install -g elm-format@exp
build_script:
# Install languages to Atom
2018-01-05 22:04:01 -07:00
- apm install --packages-file atom-packages.txt
# 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