commit 12cdefcde910997e08822d14cbebcae0132ebcf7
parent 010ca68f9baaa4e60b6ad6b008d7eda65681f2ec
Author: MTRNord <mtrnord1@gmail.com>
Date: Sat, 19 May 2018 12:29:26 +0200
Add travisCI tests
Diffstat:
2 files changed, 17 insertions(+), 2 deletions(-)
diff --git a/.travis.yml b/.travis.yml
@@ -0,0 +1,15 @@
+sudo: required
+addons:
+ chrome: stable
+
+language: node_js
+node_js:
+ - "9"
+
+before_script:
+ - npm install --global yarn
+ - yarn global add @angular/cli
+
+script:
+ - ng build --prod --aot
+ - ng test
diff --git a/karma.conf.js b/karma.conf.js
@@ -26,8 +26,8 @@ module.exports = function (config) {
port: 9876,
colors: true,
logLevel: config.LOG_INFO,
- autoWatch: true,
+ autoWatch: false,
browsers: ['Chrome'],
- singleRun: false
+ singleRun: true
});
};