Merge pull request #331 from lukesampson/appveyor-ci

Appveyor CI
This commit is contained in:
Simon Hartcher
2015-04-09 15:21:33 +10:00
2 changed files with 67 additions and 0 deletions
+43
View File
@@ -0,0 +1,43 @@
. "lib/core.ps1"
function Run-Test($test) {
exec { powershell "./test/$test" }
}
task . {
abort 'There is no default build task'
}
task Test {
"Running tests..."
},
MoveDir,
HashTable,
Packages,
Opts,
Versions,
Vimrc
task MoveDir {
run-test movedir
}
task HashTable {
run-test ht
}
task Packages {
run-test packages
}
task Opts {
run-test opts
}
task Versions {
run-test versions
}
task Vimrc {
run-test vimrc
}
+24
View File
@@ -0,0 +1,24 @@
version: "{build}-{branch}"
branches:
except:
- gh-pages
environment:
scoop: c:\tools\scoop
init:
- ps: (Get-PSProvider FileSystem).Home = 'c:\tools\'
- ps: iex (new-object net.webclient).downloadstring('https://get.scoop.sh')
- ps: scoop install invoke-build
build: off
test_script:
- ps: invoke-build test
notifications:
- provider: Slack
auth_token:
secure: lzkktSx/4RFbuzbztN3ZycdGJjr6ZqapatvExhwRjB4Va9QNutHw1lGPI0hWlPAq
channel: activity