From e3fd25f3286bfb93d55111a739acb2b7cdb73cff Mon Sep 17 00:00:00 2001 From: "Low Jun Kai, Sean" Date: Wed, 7 Oct 2020 20:52:44 +0800 Subject: [PATCH 1/2] Update travis yml to build for Linux and MacOS --- .travis.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.travis.yml b/.travis.yml index b84ce5d86..8d8e0b8f0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,6 +21,11 @@ jobs: script: - npm install - npm update + - <<: *Mac-Setup-and-Tests + os: osx + name: "Build" + script: + - npm run build - <<: *Mac-Setup-and-Tests os: osx name: "Lint" @@ -38,6 +43,11 @@ jobs: script: - npm install - npm update + - <<: *Linux-Setup-and-Tests + os: linux + name: "Build" + script: + - npm run build - <<: *Linux-Setup-and-Tests os: linux name: "Lint" From 31515d1da3b532cbb90151e5215bb4936c216b26 Mon Sep 17 00:00:00 2001 From: "Low Jun Kai, Sean" Date: Sat, 10 Oct 2020 21:46:35 +0800 Subject: [PATCH 2/2] Fix Scripts --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 8d8e0b8f0..00e9abd71 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,7 +25,7 @@ jobs: os: osx name: "Build" script: - - npm run build + - npm run electron:mac - <<: *Mac-Setup-and-Tests os: osx name: "Lint" @@ -47,7 +47,7 @@ jobs: os: linux name: "Build" script: - - npm run build + - npm run electron:linux - <<: *Linux-Setup-and-Tests os: linux name: "Lint"