From 37739d7f446a2c3a4c38b056b66fc078e88d2046 Mon Sep 17 00:00:00 2001 From: Dreamacro <305009791@qq.com> Date: Wed, 29 Aug 2018 23:25:35 +0800 Subject: [PATCH] Add: travis ci config --- .travis.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..48e0236 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,22 @@ +language: node_js +sudo: false +node_js: + - "stable" +cache: + directories: + - "$HOME/.npm" +install: + - "npm ci" +script: + - "npm run lint" +before_deploy: + - "npm run build" +deploy: + provider: pages + skip-cleanup: true + local-dir: dist + github-token: $GITHUB_TOKEN + on: + repo: Dreamacro/clash-dashboard + branch: master + tags: true