cityssm/simple-password-generator

View on GitHub
appveyor.yml

Summary

Maintainability
Test Coverage
image: ubuntu
platform: Any CPU

environment:
  CODACY_PROJECT_TOKEN:
    secure: nYjBr3uDeDpcKMm/rWfetnxodaKcWRBwjz/uARQPUpolyC7qc9yW5B+SdVjC8sc+
  CC_TEST_REPORTER_ID:
    secure: wl6PBMxciVNqtCOHVqjn69fkc8GZOK6fpqFQkGjUFw18CTNFMvcUUrfoxUWEZZ/WeHx5qo8vVsXYO6KAW1fwSnaVvSAgFq3IvW1ggYzgIr4=

stack: "node 14"

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

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:
  - c8 --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