Commit 903a1b3b 903a1b3bb687b5179bc72896e640b99716c8bea0 by Vincent Peybernes

#1 -Tests automation

1 parent 4d1a3a04
Pipeline #59 for 903a1b3b failed in 3 minutes 28 seconds
cache:
paths:
- node_modules/
- dist/
stages:
- build
- test
- publish
build:
stage: build
script:
- npm install
test:
stage: test
script:
- npm run test
\ No newline at end of file
......@@ -4,9 +4,8 @@
"description": "Matrix valition for angular form",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "node_modules/.bin/gulp build",
"postinstall": "npm run build"
"test": "node_modules/.bin/karma start karma.conf.js --single-run",
"build": "node_modules/.bin/gulp build"
},
"author": {
"name": "Techniv",
......