mirror of
https://github.com/zhigang1992/probot.git
synced 2026-05-12 08:52:59 +08:00
chore: Setup Appveyor (#334)
* Add appveyor.yml * Add AppVeyor badge to README
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Probot
|
||||
|
||||
[](https://www.npmjs.com/package/probot) [](https://travis-ci.org/probot/probot) [](https://greenkeeper.io/) [](https://changelog.com/podcast/264)
|
||||
[](https://www.npmjs.com/package/probot) [](https://travis-ci.org/probot/probot) [](https://ci.appveyor.com/api/projects/status/32r7s2skrgm9ubva?svg=true) [](https://greenkeeper.io/) [](https://changelog.com/podcast/264)
|
||||
|
||||
If you've ever thought, "wouldn't it be cool if GitHub could…"; imma stop you right there. Most features can actually be added via [GitHub Apps](https://developer.github.com/apps/), which extend GitHub and can be installed directly on organizations and user accounts and granted access to specific repositories. They come with granular permissions and built-in webhooks. Apps are first class actors within GitHub.
|
||||
|
||||
|
||||
21
appveyor.yml
Normal file
21
appveyor.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
# Test against the latest version of this Node.js version
|
||||
environment:
|
||||
nodejs_version: "8"
|
||||
|
||||
# Install scripts. (runs after repo cloning)
|
||||
install:
|
||||
# Get the latest stable version of Node.js or io.js
|
||||
- ps: Install-Product node $env:nodejs_version
|
||||
# install modules
|
||||
- npm install
|
||||
|
||||
# Post-install test scripts.
|
||||
test_script:
|
||||
# Output useful info for debugging.
|
||||
- node --version
|
||||
- npm --version
|
||||
# run tests
|
||||
- npm test
|
||||
|
||||
# Don't actually build.
|
||||
build: off
|
||||
Reference in New Issue
Block a user