Run tsc as a travis job
This will hard fail when there are semantic errors. Currently building does not do this and we will merge these in as a result.
This commit is contained in:
@@ -11,6 +11,7 @@ before_install:
|
|||||||
- npm install -g npm@5.1.0
|
- npm install -g npm@5.1.0
|
||||||
env:
|
env:
|
||||||
matrix:
|
matrix:
|
||||||
|
- NPM_COMMAND=tsc
|
||||||
- NPM_COMMAND=lint
|
- NPM_COMMAND=lint
|
||||||
- NPM_COMMAND=test
|
- NPM_COMMAND=test
|
||||||
notifications:
|
notifications:
|
||||||
|
|||||||
@@ -82,6 +82,7 @@
|
|||||||
"lint": "tslint src/*.ts src/**/*.ts",
|
"lint": "tslint src/*.ts src/**/*.ts",
|
||||||
"test": "gulp test",
|
"test": "gulp test",
|
||||||
"build:docs": "jsdoc -c jsdoc.json",
|
"build:docs": "jsdoc -c jsdoc.json",
|
||||||
|
"tsc": "tsc",
|
||||||
"build": "gulp build",
|
"build": "gulp build",
|
||||||
"prepublish": "npm run build",
|
"prepublish": "npm run build",
|
||||||
"coveralls": "gulp coveralls",
|
"coveralls": "gulp coveralls",
|
||||||
|
|||||||
Reference in New Issue
Block a user