addons:
    code_climate:
        repo_token: $CODECLIMATE_REPO_TOKEN
language: node_js
node_js:
    - "8"
    - "10"
    - "11"
before_install: if [[ `npm -v` != 5* ]]; then npm i -g npm@5; fi
after_success:
    - npm run coverage
    - npm install -g codeclimate-test-reporter
    - codeclimate-test-reporter < ./coverage/lcov.info
    - ./node_modules/coveralls/bin/coveralls.js < ./coverage/lcov.info
    - rm -rf ./coverage

addons:
    code_climate:
        repo_token: $CODECLIMATE_REPO_TOKEN
language: node_js
node_js:
    - "8"
    - "10"
    - "11"
after_success:
    - npm run coverage
    - npm install -g codeclimate-test-reporter
    - codeclimate-test-reporter < ./coverage/lcov.info
    - ./node_modules/coveralls/bin/coveralls.js < ./coverage/lcov.info
    - rm -rf ./coverage

Remove manual CI install of npm 5
Remove manual CI install of npm 5

We don't need this anymore; when presage development first started, node 6 and 8 would still install with npm 4 by default. This line would ensure that things worked nicely with npm 5. Now that everything ships with npm 6+, this can go.
