From e10f6ef6edebe07f26ea78b1f77c500941a2c6e1 Mon Sep 17 00:00:00 2001 From: isuruAb Date: Mon, 4 Sep 2017 22:55:34 +0530 Subject: [PATCH 1/6] add travis yml --- .travis.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100755 index 0000000..2fdbfb9 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,14 @@ +sudo: required +dist: trusty +language: node_js +node_js: +- 6 +script: + - npm test + +cache: + bundler: true + directories: + - node_modules + - .coala-cache + From cf5242f74162110c36887b988ba95b4818b8fb8c Mon Sep 17 00:00:00 2001 From: isuruAb Date: Mon, 4 Sep 2017 23:10:14 +0530 Subject: [PATCH 2/6] minor change --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index 2fdbfb9..e98b8d3 100755 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,10 @@ dist: trusty language: node_js node_js: - 6 +before_install: +- export CHROME_BIN=chromium-browser +- export DISPLAY=:99.0 + script: - npm test From 2ffccbc0be63e87b95d037cb5d1e3acddb4267a3 Mon Sep 17 00:00:00 2001 From: isuruAb Date: Mon, 4 Sep 2017 23:16:54 +0530 Subject: [PATCH 3/6] minor change --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index e98b8d3..b45fc9b 100755 --- a/.travis.yml +++ b/.travis.yml @@ -16,3 +16,6 @@ cache: - node_modules - .coala-cache +branches: + only: + - master From 5cabecf4135535b190aeeb68c752bd9498c3ae3d Mon Sep 17 00:00:00 2001 From: isuruAb Date: Mon, 4 Sep 2017 23:22:39 +0530 Subject: [PATCH 4/6] minor change --- .travis.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index b45fc9b..ea58b2d 100755 --- a/.travis.yml +++ b/.travis.yml @@ -3,9 +3,6 @@ dist: trusty language: node_js node_js: - 6 -before_install: -- export CHROME_BIN=chromium-browser -- export DISPLAY=:99.0 script: - npm test From c3e571dcfc3b7cd8003bdc3a4e04dbd10b85a638 Mon Sep 17 00:00:00 2001 From: isuruAb Date: Mon, 4 Sep 2017 23:30:22 +0530 Subject: [PATCH 5/6] minor change --- .travis.yml | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/.travis.yml b/.travis.yml index ea58b2d..b8614a1 100755 --- a/.travis.yml +++ b/.travis.yml @@ -4,15 +4,3 @@ language: node_js node_js: - 6 -script: - - npm test - -cache: - bundler: true - directories: - - node_modules - - .coala-cache - -branches: - only: - - master From 838b42d63d5a6ddf03a1bd928046c4e47b6cd583 Mon Sep 17 00:00:00 2001 From: isuruAb Date: Mon, 4 Sep 2017 23:38:37 +0530 Subject: [PATCH 6/6] minor change --- .travis.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index b8614a1..a5c8c16 100755 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,13 @@ -sudo: required -dist: trusty language: node_js node_js: -- 6 + - "6.9" +branches: + only: + - master + +before_script: + - npm install -g @angular/cli + +script: + - ng build --prod