GroceriStar/sd

View on GitHub
.travis.yml

Summary

Maintainability
Test Coverage
language: node_js
node_js:
  - "lts/*"
  - "node"
  - 12

#before_script: npm run lint
#script: npm run test
#after_success: npm run coveralls

install:
  - cd ./package
  - npm install

# as our module should have an additional files, generated before publishing we're using this line below
# should we add more stuff here as well? or @TODO move something out when generator will be a separated thing
# before_script: npm run generate


script:
  - npm test
  - npm run jsonlint
  - npm run lint
  - npm run build
# we need to move coveralls from fetch and run it here as well

# script:
#  - npm test
#  - npm run jsonlint
#  - npm run json-vaidation
#  - npm run build
#  - npm run install

branches:
  only:
    - master