From b55da7be6530e3c95d2c5fdb92f95735d174ee1c Mon Sep 17 00:00:00 2001 From: Vishwas Shashidhar Date: Thu, 21 Mar 2019 14:15:09 +0530 Subject: [PATCH] travis ci - add configuration to master branch --- .travis.yml | 31 +++++++++++++++++++++++++++++++ README.md | 2 +- 2 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000..2a34bcdd --- /dev/null +++ b/.travis.yml @@ -0,0 +1,31 @@ +env: + global: + - ELECTRON_QA="true" + +os: + - osx + - windows + +compiler: + - gcc + +language: node_js + +node_js: + - '11' + +addons: + chrome: stable + +before_install: + - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew update ; fi + +script: + - node --version + - npm --version + - npm install + - npm test + +cache: + directories: + - node_modules \ No newline at end of file diff --git a/README.md b/README.md index 23cdceaf..b1a6cd19 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ [![Symphony Software Foundation - Incubating](https://cdn.rawgit.com/symphonyoss/contrib-toolbox/master/images/ssf-badge-incubating.svg)](https://symphonyoss.atlassian.net/wiki/display/FM/Incubating) - +[![Build Status](https://travis-ci.org/symphonyoss/SymphonyElectron.svg?branch=master)](https://travis-ci.org/symphonyoss/SymphonyElectron) # SymphonyElectron ## About: