language: node_js
node_js:
  - '11'
  - '10'
  - '9'
  - '8'
  - '7'
  - '6'
cache:
  directories:
  - node_modules
env:
  global:
    CC_TEST_REPORTER_ID: 4d99b78b9a22766e6e15f9f3d273db9ad64cf326fac7f63bc36115737f46b231
before_script:
  - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
  - chmod +x ./cc-test-reporter
  - ./cc-test-reporter before-build
script:
  - if [[ `npm -v` > 6* ]]; then npm audit; fi
  - npm run lint
  - npm run test
after_script:
  - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT

language: node_js
node_js:
  - '12'
  - '11'
  - '10'
  - '9'
  - '8'
  - '7'
  - '6'
cache:
  directories:
  - node_modules
env:
  global:
    CC_TEST_REPORTER_ID: 4d99b78b9a22766e6e15f9f3d273db9ad64cf326fac7f63bc36115737f46b231
before_script:
  - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
  - chmod +x ./cc-test-reporter
  - ./cc-test-reporter before-build
script:
  - if [[ `npm -v` > 6* ]]; then npm audit; fi
  - npm run lint
  - npm run test
after_script:
  - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT

Add node 12 to Travis environments
Add node 12 to Travis environments
