Skip to content

Commit

Permalink
fix(travis): firebase deploy process by travis
Browse files Browse the repository at this point in the history
  • Loading branch information
StephanGerbeth committed Sep 3, 2018
1 parent adf4278 commit 3642428
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,19 @@ cache:
- "~/.npm"
notifications:
email: false
before_install:
- npm i -g firebase-tools
install:
- npm i -g firebase-tools
- npm install
- npm install semantic-release @semantic-release/git @semantic-release/changelog --no-save
script:
- npm run test
- npm run build
after_success:
- npm run travis-deploy-once "npm run semantic-release"
# - firebase deploy --only functions --token "${FIREBASE_TOKEN}"
before_deploy:
- npm install --prefix ./functions
deploy:
provider: firebase
skip_cleanup: true
on:
branch: master
after_deploy:
- npm install semantic-release @semantic-release/git @semantic-release/changelog --no-save
- npm run travis-deploy-once "npm run semantic-release"

0 comments on commit 3642428

Please sign in to comment.