Skip to content

Commit 316633b

Browse files
committed
Change TravisCI rules to regulate only OSX
1 parent 7da51e4 commit 316633b

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
language: node_js
22
node_js:
33
- "stable"
4+
os:
5+
osx
6+
jobs:
7+
allow_failures:
8+
- os: osx
49
install:
510
- npm install

Main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ app.on('window-all-closed', () => {
7575
{ encoding: 'UTF-8' }
7676
);
7777
// process platform is a property that return a string identifying the OS platform on which NodeJs process is running --> Ousman
78-
if (process.platform !== 'linux') {
78+
if (process.platform !== 'darwin') {
7979
// quits application
8080
app.quit();
8181
}

0 commit comments

Comments
 (0)