add test to travis job

This commit is contained in:
lxsang 2020-06-22 12:01:05 +02:00
parent b72d5a5de3
commit 6d85427225
2 changed files with 5 additions and 1 deletions

View File

@ -4,8 +4,9 @@ node_js:
install: install:
- npm install terser -g - npm install terser -g
- npm install uglifycss -g - npm install uglifycss -g
- npm install jest -g
- npm install typescript - npm install typescript
- npm install @types/jquery - npm install @types/jquery
script: script:
- make - make && make test
- make release - make release

View File

@ -160,6 +160,9 @@ release: main uglify
doc: doc:
./node_modules/.bin/typedoc --mode file --excludeNotExported --hideGenerator --name "AntOS API" --out $(DOCDIR) ./node_modules/.bin/typedoc --mode file --excludeNotExported --hideGenerator --name "AntOS API" --out $(DOCDIR)
test:
jest
clean: clean:
rm -rf $(BUILDDIR)/resources rm -rf $(BUILDDIR)/resources
rm -rf $(BUILDDIR)/scripts rm -rf $(BUILDDIR)/scripts