Travis CI Build test Configuration for Nuxt.js - CI Build Test Before Deploy your Static Site to Production Use.
- Enable Travis CI for your Github Project
- Create
.travis.yml
file and add this Below code (Check Mine - https://github.com/mskian/tamil-quotes/blob/master/.travis.yml)
dist: xenial
language: node_js
node_js:
- "lts/*"
branches:
only:
- master
install:
- npm install
script:
- npm run build
- npm run generate