cityssm/map-expire

View on GitHub
appveyor.yml

Summary

Maintainability
Test Coverage
image: ubuntu
platform: Any CPU

environment:
  CODACY_PROJECT_TOKEN:
    secure: JJJRnEuL95HEjN1NUy2rnHvq5pLBPKeZu3y5kWmcCC/ZRSs+kQoKaBRg9sDpA4Bz
  CC_TEST_REPORTER_ID:
    secure: o8D0fLZwi7xWshsBrFV0iMzLx26FUJ71LeUrDUlGDdRPNLRBpdRxkt5Zk9YhwdDICWuF0dtkE56uPfAPWwDjVVdgZFdW2K6OiSOQTfkzl4s=

stack: "node 14"

install:
  # Output useful info for debugging.
  - node --version
  - npm --version
  # install modules
  - sh: npm ci
  - sh: npm install -g mocha nyc

before_test:
  # Download codeclimate test report
  - sh: curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./codeclimate-test-reporter
  - sh: chmod +x ./codeclimate-test-reporter

test_script:
  - nyc --reporter=lcov mocha --timeout 30000

after_test:
  # Send test result to codeclimate
  - sh: ./codeclimate-test-reporter before-build
  - sh: ./codeclimate-test-reporter after-build -t lcov --exit-code $?
  # Send test result to Codacy
  - sh: bash <(curl -Ls https://coverage.codacy.com/get.sh) report -r ./coverage/lcov.info

# Don't actually build.
build: off