Add travis ci
This commit is contained in:
parent
e19712321f
commit
4198d0d560
4 changed files with 26 additions and 2 deletions
13
.travis.yml
Normal file
13
.travis.yml
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
language: node_js
|
||||||
|
node_js:
|
||||||
|
- 6
|
||||||
|
- 7
|
||||||
|
- stable
|
||||||
|
env:
|
||||||
|
- CXX=g++-4.8
|
||||||
|
addons:
|
||||||
|
apt:
|
||||||
|
sources:
|
||||||
|
- ubuntu-toolchain-r-test
|
||||||
|
packages:
|
||||||
|
- g++-4.8
|
3
Makefile
Normal file
3
Makefile
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
lint:
|
||||||
|
@./node_modules/.bin/eslint .
|
||||||
|
.PHONY: lint
|
10
README.md
10
README.md
|
@ -1,7 +1,9 @@
|
||||||
HackMD
|
HackMD
|
||||||
===
|
===
|
||||||
|
|
||||||
[![Join the chat at https://gitter.im/hackmdio/hackmd](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/hackmdio/hackmd?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
[![Join the chat at https://gitter.im/hackmdio/hackmd][gitter-image]][gitter-url]
|
||||||
|
[![build status][travis-image]][travis-url]
|
||||||
|
|
||||||
|
|
||||||
HackMD lets you create realtime collaborative markdown notes on all platforms.
|
HackMD lets you create realtime collaborative markdown notes on all platforms.
|
||||||
Inspired by Hackpad, with more focus on speed and flexibility.
|
Inspired by Hackpad, with more focus on speed and flexibility.
|
||||||
|
@ -48,7 +50,7 @@ Browsers Requirement
|
||||||
Prerequisite
|
Prerequisite
|
||||||
---
|
---
|
||||||
|
|
||||||
- Node.js 4.x or up (test up to 6.7.0)
|
- Node.js 6.x or up (test up to 6.7.0)
|
||||||
- Database (PostgreSQL, MySQL, MariaDB, SQLite, MSSQL) use charset `utf8`
|
- Database (PostgreSQL, MySQL, MariaDB, SQLite, MSSQL) use charset `utf8`
|
||||||
- npm (and its dependencies, especially [uWebSockets](https://github.com/uWebSockets/uWebSockets#nodejs-developers), [node-gyp](https://github.com/nodejs/node-gyp#installation))
|
- npm (and its dependencies, especially [uWebSockets](https://github.com/uWebSockets/uWebSockets#nodejs-developers), [node-gyp](https://github.com/nodejs/node-gyp#installation))
|
||||||
|
|
||||||
|
@ -222,3 +224,7 @@ Additionally, now can show other clients' selections.
|
||||||
See more at [http://operational-transformation.github.io/](http://operational-transformation.github.io/)
|
See more at [http://operational-transformation.github.io/](http://operational-transformation.github.io/)
|
||||||
|
|
||||||
**License under MIT.**
|
**License under MIT.**
|
||||||
|
[gitter-image]: https://badges.gitter.im/Join%20Chat.svg
|
||||||
|
[gitter-url]: https://gitter.im/hackmdio/hackmd?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge
|
||||||
|
[travis-image]: https://travis-ci.org/hackmdio/hackmd.svg?branch=master
|
||||||
|
[travis-url]: https://travis-ci.org/hackmdio/hackmd
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
"main": "app.js",
|
"main": "app.js",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"test": "make lint",
|
||||||
"dev": "webpack --config webpack.config.js --progress --colors --watch",
|
"dev": "webpack --config webpack.config.js --progress --colors --watch",
|
||||||
"build": "webpack --config webpack.production.js --progress --colors",
|
"build": "webpack --config webpack.production.js --progress --colors",
|
||||||
"postinstall": "bin/heroku",
|
"postinstall": "bin/heroku",
|
||||||
|
@ -150,6 +151,7 @@
|
||||||
"copy-webpack-plugin": "^4.0.1",
|
"copy-webpack-plugin": "^4.0.1",
|
||||||
"css-loader": "^0.26.1",
|
"css-loader": "^0.26.1",
|
||||||
"ejs-loader": "^0.3.0",
|
"ejs-loader": "^0.3.0",
|
||||||
|
"eslint": "^3.15.0",
|
||||||
"exports-loader": "^0.6.3",
|
"exports-loader": "^0.6.3",
|
||||||
"expose-loader": "^0.7.1",
|
"expose-loader": "^0.7.1",
|
||||||
"extract-text-webpack-plugin": "^1.0.1",
|
"extract-text-webpack-plugin": "^1.0.1",
|
||||||
|
|
Loading…
Reference in a new issue