diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..4c536af --- /dev/null +++ b/.travis.yml @@ -0,0 +1,22 @@ +# TODO: add deploy setting +# TODO: add badge +language: node_js +node_js: 12 +cache: + yarn: true + npm: true + +branches: + only: + - dev + - master + +script: + # Immediate exit when error + - set -e + + # Check code + - yarn lint + + # Test by build + - yarn build