Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question: Looking for sample Travis file/package.json to build mac image on Travis CI #3848

Closed
kenlassesen opened this issue Apr 22, 2019 · 3 comments
Labels

Comments

@kenlassesen
Copy link

Using "electron-builder": "^20.39.0"
Target: MacOs

I get a "Done. Your build exited with 1." #3 failed. Log does not indicate why.
Travislog.txt

.travis.yml File

os:
 - osx
matrix:
  include:
    - os: osx
      osx_image: xcode9.4
      language: node_js
      node_js: "10"
cache:
  directories:
    - node_modules
    - "$HOME/.electron" 

script:
  - yarn release
     
branches:
  except:
    - "/^v\\d+\\.\\d+\\.\\d+$/"`

Package Json

{
  "name": "sona",
  "version": "0.0.2",
  "description": "Azure Usage Analysis",
  "main": "main.js",
  "scripts": {
    "start": "electron .",
    "pack": "build --dir",
    "dist": "build"
  },
  "build": {
    "appId": "com.lassesen.dpapi.sona",
    "productName": "Sona - Azure Usage",
    "mac": {
      "target": "dmg",
      "icon": "build/icon.png"
    },
    "files": [
      "*.js",
      "*.html",
      "*.css"
    ]
  }, 
  "dmg": {
    "internetEnabled" : true
  }, 
  "author": "GitHub",
  "license": "CC0-1.0",
  "devDependencies": {
    "electron": "^4.1.4",
    "electron-builder": "^20.39.0"
  },
  "dependencies": {
    "dataframe-js": "^1.4.1",
    "datejs": "^1.0.0-rc3",
    "lokijs": "^1.5.6",
    "xlsx": "^0.14.2"
  }
}
@Spring3
Copy link

Spring3 commented Jun 4, 2019

Based on your log file, /Users/travis/.travis/functions: line 104: yarn: command not found

@stale
Copy link

stale bot commented Aug 3, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the backlog label Aug 3, 2019
@stale stale bot closed this as completed Aug 10, 2019
@bootsie123
Copy link

Hi! I'm also running into this exact issue. Any updates on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants