Skip to content

Commit

Permalink
Set up CI with Azure Pipelines (dirigeants#69)
Browse files Browse the repository at this point in the history
* Set up CI with Azure Pipelines

* Update package.json

* Update package.json

* remove travis
  • Loading branch information
azure-pipelines[bot] authored and bdistin committed Mar 7, 2019
1 parent ab19251 commit 79f991a
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 50 deletions.
31 changes: 0 additions & 31 deletions .travis-deploy.sh

This file was deleted.

17 changes: 0 additions & 17 deletions .travis.yml

This file was deleted.

2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# klasa-dashboard-hooks

[![Build Status](https://dev.azure.com/dirigeants/klasa/_apis/build/status/dirigeants.klasa-dashboard-hooks?branchName=master)](https://dev.azure.com/dirigeants/klasa/_build/latest?definitionId=4&branchName=master)

Simple plugin to expose an api from a klasa bot. Lets you build an external dashboard in one of several frameworks such as Vue.js.
15 changes: 15 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
resources:
repositories:
- repository: templates
type: github
name: dirigeants/pipelines
endpoint: dirigeants

jobs:
- template: lint.yml@templates

- template: docs.yml@templates
parameters:
ghRef: 'github.com/dirigeants/klasa-dashboard-hooks'
targetBranch: 'docs'
dependsOn: Lint
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
},
"scripts": {
"lint": "npx eslint --fix src && npx eslint --fix --config .eslintrcmd.json --ext md guides && npx tslint --fix 'typings/*.ts'",
"test": "npx eslint src && npx tslint 'typings/*.ts' && npx eslint --config .eslintrcmd.json --ext md guides && npx markdownlint guides README.md",
"docs": "npx dg --source src --custom guides/.docconfig.json --output docs/docs.json --logging"
"test:lint": "npx eslint src && npx tslint 'typings/*.ts' && npx eslint --config .eslintrcmd.json --ext md guides && npx markdownlint guides README.md",
"docs": "npx dg --source src --custom guides/.docconfig.json --output dist/docs.json --logging"
},
"dependencies": {
"node-fetch": "^2.1.2"
Expand Down

0 comments on commit 79f991a

Please sign in to comment.