Commit 67abc73c authored by JiangTJ's avatar JiangTJ 😋

...

parent a7c8ed92
Pipeline #76132184 failed with stage
in 1 minute and 12 seconds
image: node:10.16.2
variables:
GIT_SUBMODULE_STRATEGY: recursive
before_script:
- yarn global add hexo-cli
- hexo init ./
- git clone https://github.com/jiangtj-lab/hexo-many-posts.git --depth=1 --quiet source/_post/skk
stages:
- test
run-test:
stage: test
script:
# init
- yarn global add hexo-cli
- hexo init test-dir
- copy run-hexo.sh test-dir/
- cd test-dir
- git clone https://github.com/jiangtj-lab/hexo-many-posts.git --depth=1 --quiet source/_post/skk
- yarn install
# 测试默认主题
- sh run-hexo.sh
- sh run-hexo.sh
......@@ -21,7 +21,7 @@ run-test:
# 测试hexo-theme-cake
- rm -rf themes/*
- git clone https://github.com/jiangtj/hexo-theme-cake.git --single-branch themes/hexo-theme-cake
- git clone https://github.com/jiangtj/hexo-theme-cake.git themes/hexo-theme-cake --quiet --single-branch
- hexo config theme hexo-theme-cake
- sh run-hexo.sh
- sh run-hexo.sh
......@@ -29,7 +29,7 @@ run-test:
# 测试hexo-theme-next
- rm -rf themes/*
- git clone https://github.com/theme-next/hexo-theme-next.git --single-branch themes/hexo-theme-next
- git clone https://github.com/theme-next/hexo-theme-next.git themes/hexo-theme-next --quiet --single-branch
- hexo config theme hexo-theme-next
- sh run-hexo.sh
- sh run-hexo.sh
......@@ -37,9 +37,8 @@ run-test:
# 测试hexo-theme-suka
- rm -rf themes/*
- git clone https://github.com/SukkaW/hexo-theme-suka.git --single-branch themes/hexo-theme-suka
- git clone https://github.com/SukkaW/hexo-theme-suka.git themes/hexo-theme-suka --quiet --single-branch
- hexo config theme hexo-theme-suka
- sh run-hexo.sh
- sh run-hexo.sh
- sh run-hexo.sh
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment