sudo: false
language: node_js
cache:
  directories:
    - ~/.npm
notifications:
  email: false
node_js:
  - '10'
  - '8'
  - '6'
addons:
  apt:
    packages:
      - graphviz
before_install:
  - npm install -g npm
before_script:
  - npm install -g grunt-cli
  - npm prune
after_success:
  - npm run travis-deploy-once "npm run semantic-release"
branches:
  except:
    - /^v\d+\.\d+\.\d+$/

sudo: false
language: node_js
cache:
  directories:
    - ~/.npm
notifications:
  email: false
node_js:
  - '10'
  - '8'
  - '6'
addons:
  apt:
    packages:
      - graphviz
before_script:
  - npm install -g grunt-cli
after_success:
  - npm run travis-deploy-once "npm run semantic-release"
branches:
  except:
    - /^v\d+\.\d+\.\d+$/

Remove upgrading npm and pruning node_modules during the Travis CI build
chore: Remove upgrading npm and pruning node_modules during the Travis CI build

It is not necessary.
