.travis.yml
language: node_js
os: linux
dist: bionic
matrix:
fast_finish: true
allow_failures:
- node_js: 6
- node_js: 8
- node_js: node
- node_js: lts/*
node_js:
- 6
- 8
- 10
- 12
- 14
- lts/*
- node
env:
global:
- CPUS_COUNT=4
- TRAVIS_AUTHOR_EMAIL=travis@randytarampi.ca
- TRAVIS_AUTHOR_NAME=Travis
- secure: G2ccwGaw1yGnfJEKUi2lgCsNhdA3bGMIbK0ZVIzHNH3QI3aebP8GNT/1+lOx2mkZ+Otr/0VOYx6GNz4q4jEPhJiXfbX+VrtfCAAghi9A7eHx+dCULIbpQ+/SAKq1ufVLzEzt8mZ2hSOHcvTImNzm4xok1IvnO5Xqtne0v5tL7uFZwNnB2O27BW732hOXhLfoSWoB2yQ4dqZqgXAN9bD4TnlhX8LIJypfVYbXQrF7066Fbh1KU7w94gSFeapqBvRz3flhXc+eOePQ+EwoW2mYiXFoZXyd6EF4ao/b5C/mwTHEmgZzalV1PBDHqRuMp1STX8XcOPPNUpmJj5ZvjnIW/5xSEN4IC+cDYBjPyXBXYjPod0LIe0Pb3XK6WVv0YLi5a9m/3v0+jnR704emcHbAjUV8Oc/kPtuPhmerWl/2haEHKDDYytGIWzpne5oDUBPbIlfUXjvgQK5uyvVFHmH9hCh0LtMfjbNSu2XGj+OA8qT7+fEfHTvpcCOKj/WDJQBtfBs130zpENzz4mTcZ598Q58xcmeNsBCYPRs92LMpB0My2iwTupNVMeyr1+80Gk0ZnIvjy+IlWBAxOxeE9YbDz11+3CQSarMd0ZSNgUW8A2Rw9A2LaAdxpdNdwDki7fy3MOxJqEhmQ5j6+oLaK/jYyWVQn+PfX7dnzPzV7pguKWA=
- secure: MUG1UktxGn1Ycv2QGSKGx0mwqEhZ4uOlUeMrsHOZlXw5NmBRqPTjr0m9ABAELyTpDtRd2CWt6dYIApnKeIZWKkZ5YmpGmCLETRBjDr95nZ7IQm8EadUM1hCMCRR5FRbrAEyPwcNkx5p9BRwtu2mZx4nSnShH7yE2TCbOGCraAH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L4WCN1HwrEOQU+ryudWzCuU3bxyifErCMlM/u1vFxvn2Azk5Yqji1URP4u+3oxPdakCTE/ZZyl7CqhrgkYqYwGJZGlHNjZKtP268Q/NMviJEH8HXZBdoV9Q=
- secure: KU+48Z5n4KRudHFJlyT28H97kOH8/nYkE+nEjhhwivewOJVkHBiY7Gd2m5z2gqWkOa/GmG0xb1vjyT0eWflTKbYoH7V/1iZfvxdrKRvKC+DCXe40jynB6jaHUx3gBV9nupifDKni/mUXCBcKfqpBvPiQv8LKgubH8pHXAMT+LOd7zgzA/WgPlNGUJ/PmgjZDWAy0FsKcnYqudoc3O+y4cNa8x1rLlBXg2WepOzYrXvCxqzQYSIuh7F+wr2XY9Bqe0sOovz4bUawmpN2H7b5l6CXLOTlfiaFu2JoV8aeakOOC6+QRYivI8SxBlEA5jsrNUknvxXXcIFPOiuhIGpphaSylSLio4mRY6MnsGpIWCoV9OANL+En3mUD6pIghhy+xKn/fzeFZhSET9ryw5kppgq60Ei13fySfBB6DS+BIDwHKkaezPg7GcRL+meIRHN7OJfjtEhvarmiABAi92SH+b/EuB1CeJwFNRFv/X6p1Ss6A1drgbzWZzR8lZs9avhJ89vUVQV5yM+ZPFEHkUDyuJgl6ID7hu8xzOtBtXcAOTs6P51CknaL1pXhCynH9V7inWtkJbTxEGA20KQJL2idBlKwo+Oftefqc5nGhCNqN91U6yguJMJ6OTRu83sX6Pf2PwIFd9nKjydmTVlQRt/hFZzQyFx/Ty7qDEh6xMis/X+4=
cache: npm
before_script:
- npm run pretest
- 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:
- npm run cover
after_script:
- npm run coveralls
- "./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT"
- CODECLIMATE_API_HOST=https://codebeat.co/webhooks/code_coverage CODECLIMATE_REPO_TOKEN=4fd81b93-1b4c-48f6-9472-ffe1f3139664
npx codeclimate-test-reporter < coverage/lcov.info
- python < $(curl https://report.ci/upload.py)
- bash <(curl -s https://codecov.io/bash)
- bash <(curl -Ls https://coverage.codacy.com/get.sh) report -r coverage/lcov.info
before_deploy:
- git config --local user.name "$TRAVIS_AUTHOR_NAME"
- git config --local user.email "$TRAVIS_AUTHOR_EMAIL"
deploy:
provider: script
script: npx semantic-release
skip_cleanup: true
on:
branch: master
node: 10
os: linux
condition: "$TRAVIS_OS_NAME = linux"
notifications:
slack:
secure: bOWmLQz3rKhDU5MRB3NPDjdODhg1QtFRelTr3SQ1OGElDZ53wGVH4Kv9VWRFN3pMbG0JIry6JVzLVIEm7TsVGuhV1RdwBEKCeKwLumMo8vxUHdX2MOGLtI/NczAuSJs6SXrvcMheNvry5WHzbjVZoK/UEOa+kpFutyKb5ZoDxecDdwVjZlASX4qeAlHAYVVpErlqk5nZcLv1sg/BMB7elf3a1k420FrWPrZZJS4mJuK7U+gE4dnhE247NxSyc+zDRkY4vsV+LIgXr22FmH7Yk+jaPLaQf96ZRBXzSC6MaN50zlOpCFdgS4v4yzy4XTVthL3Us4abuCBxKSxCEJnls1irjbhvSMFX4sEdUMdRjYpr4T9lcHKxbPLMIl9Aa5mfUUiZ5gXgl1g3Ig9q8OmvmSM1d/lKMqHZn/3dBJnzcz09gBy5GPijdKUgMWqakqiQu5Ex8yx+kJQgbSsNIi2hqAUckM9fTiZ2jKEx3yh1ZMDGWbwW/7yMGzaI3C4DMRWhu+5/MkAzJhZkpiFqei0/mAvQ/antmGnewmzT/q8DAQ9RMsMaLaUwRTWEk9fI+vTKb7gNxaS9WRNtUJaV93U0H0opamobyQoQMR3+p4MoC64xkCRDH5eI08g2Db6UO1tSMDF2xGMx/QrGvC3/F5mrlV8RCnwfLzb8HGdMX5z+Luk=