language: node_js
sudo: false
node_js:
  - 4.2.3

branches:
  only:
    - master

script:
  - echo 0

after_success:
  - $(which npm) install -g firebase-tools
  - if [[ "${TRAVIS_PULL_REQUEST}" == "false" ]]; then firebase deploy --non-interactive --token $FIREBASE_TOKEN; fi

language: node_js
sudo: false
node_js:
  - 4.2.3

branches:
  only:
    - master

script:
  - echo 0

after_success:
  - $(which npm) install -g firebase-tools
  - if [[ "${TRAVIS_PULL_REQUEST}" == "false" ]]; thenfirebase --non-interactive ; firebase deploy --token $FIREBASE_TOKEN; fi

Change --non-interactive flag to correct usage
Change --non-interactive flag to correct usage