forked from asdf-vm/asdf
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
appveyor.yml: Add support for Windows
This runs the tests on Appveyor CI (basically windows) so as to keep it from breaking. Closes asdf-vm#450
- Loading branch information
1 parent
1886e00
commit 64ab0ff
Showing
1 changed file
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
clone_depth: 50 | ||
|
||
init: | ||
- ps: iex (new-object net.webclient).downloadstring('https://get.scoop.sh') | ||
|
||
install: | ||
- ps: Install-Product node $env:nodejs_version | ||
- npm cache clear --force | ||
- ps: >- | ||
if ($env:nodejs_version -eq "4") { | ||
npm install npm@latest-5 -g | ||
} else { | ||
npm install npm@latest -g | ||
} | ||
- npm --version | ||
- npm install -g bats | ||
- scoop install shellcheck | ||
|
||
build: false | ||
|
||
before_test: | ||
- ps: rm test/install_command.bats | ||
- ps: rm test/plugin_list_all_command.bats | ||
- ps: rm test/remove_command.bats | ||
- ps: rm test/reshim_command.bats | ||
- ps: rm test/uninstall_command.bats | ||
- ps: rm test/update_command.bats | ||
- ps: rm test/utils.bats | ||
- ps: rm test/version_commands.bats | ||
- ps: rm test/which_command.bats | ||
|
||
test_script: | ||
- shellcheck -V | ||
- bash lint.sh | ||
- bash -c 'bats test' |