UNPKG

exec-root

Version:

Run a command using sudo, prompting the user with an OS dialog if necessary

18 lines (17 loc) 508 B
language: node_js cache: directories: - ~/.npm notifications: email: false node_js: - '11' - '10' - '8' after_success: - npm run travis-deploy-once "npm run report-coverage" - if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then npm run travis-deploy-once "npm run deploy-docs"; fi - if [ "$TRAVIS_BRANCH" = "master" -a "$TRAVIS_PULL_REQUEST" = "false" ]; then npm run travis-deploy-once "npm run semantic-release"; fi branches: except: - /^v\d+\.\d+\.\d+$/