Files
hoppscotch/.travis.yml
Liyas Thomas 13784db34d 💚 Fixing CI build
2019-10-03 15:31:16 +05:30

44 lines
939 B
YAML

# == INSTRUCTIONS FOR SETTING UP TRAVIS (and GitHub Pages) ==
#
# 1. Find this repository in your Travis-CI dashboard.
# open settings and add an environment variable called
# GITHUB_ACCESS_TOKEN and set it to your personal access token.addons:
# See: https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line
#
# **DO NOT TURN ON 'Display value in build log'!!!!**
#
# 2. Push the code to the repository.
# 3. Set the GitHub Pages source in the GitHub repository settings to the
# gh-pages branch.
language: node_js
node_js:
- "12"
env:
- DEPLOY_ENV=POSTWOMAN_IO
cache:
directories:
- "node_modules"
branches:
only:
- "master"
install:
- "npm install firebase-tools"
- "npm install"
script:
- "cd functions"
- "npm install"
- "cd .."
- "npm run generate"
notifications:
webhooks: https://www.travisbuddy.com
after_success:
- firebase deploy --token $FIREBASE_TOKEN