From b0e6dec54ff76bfb6c1c7286859931c56a49ee6c Mon Sep 17 00:00:00 2001 From: dancingTx <1150328467@qq.com> Date: Wed, 28 Oct 2020 20:32:35 +0800 Subject: [PATCH] feat(.travis.yml): add ci file --- .travis.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..6c3330d --- /dev/null +++ b/.travis.yml @@ -0,0 +1,21 @@ +language: node_js # 设置语言 +node_js: stable +branches: + only: + - master + - dev +cache: + apt: true + directories: + - node_modules +before_install: + - composer config --global github-oauth.github.com "$GITHUB_TOKEN" +install: + - yarn +deploy: + provider: pages + skip_cleanup: true + keep_history: true + github_token: $GITHUB_TOKEN + on: + branch: gh_pages \ No newline at end of file