Commit 903a1b3b 903a1b3bb687b5179bc72896e640b99716c8bea0 by Vincent Peybernes

#1 -Tests automation

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