Skip to content

Commit

Permalink
try another travis
Browse files Browse the repository at this point in the history
  • Loading branch information
dbuteau committed Aug 24, 2019
1 parent 7929e97 commit 97a89d8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 23 deletions.
12 changes: 5 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,13 @@ jobs:

- stage: deploy
name: create release file on github
provider: releases
before_deploy:
- npm run release
node_js:
- '10'
api_key: $GH_TOKEN
WEB_EXT_CHANNEL: unlisted
before_deploy:
- npm run build
- npm run sign
provider: releases
skip_cleanup: true
overwrite: true
file_glob: true
Expand All @@ -47,7 +46,6 @@ jobs:
WEB_EXT_CHANNEL: listed
provider: script
skip_cleanup: true
script: "npm run release"
on:
tags: true
script: "npm run release:amo"
on.tags: true

18 changes: 2 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,25 +18,11 @@
"zip-dir": "*",
"web-ext": "*"
},
"xo": {
"space": true,
"envs": [
"browser",
"webextensions"
],
"rules": {
"import/no-unassigned-import": 0,
"no-lonely-if": "off"
},
"ignores": [
"build/**"
]
},
"scripts": {
"test": "web-ext lint",
"build": "web-ext build",
"sign": "web-ext sign",
"release:amo": "web-ext run",
"release": "npm run build && npm run release:amo"
"release:amo": "npm run build && web-ext run",
"release": "npm run build && npm run sign"
}
}

0 comments on commit 97a89d8

Please sign in to comment.