language: node_js
node_js:
  - node
before_script:
  - chmod a+x bin/*
  - bin/before_script.sh
script:
  - npm run build
after_success:
  - bin/after_success.sh
branches:
  except:
    - /^v\d+\.\d+\.\d+$/
    - gh-pages
notifications:
  webhooks: http://webhook.hakatashi.com/travis

language: node_js
node_js:
  - node
before_script:
  - bash bin/before_script.sh
script:
  - npm run build
after_success:
  - bash bin/after_success.sh
branches:
  except:
    - /^v\d+\.\d+\.\d+$/
    - gh-pages
notifications:
  webhooks: http://webhook.hakatashi.com/travis

Make scripts run explicitly in bash
Make scripts run explicitly in bash
