Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore/ci: bring ci to the theme development #2

Merged
merged 18 commits into from
Jul 24, 2018
Merged
25 changes: 25 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
language: node_js
node_js:
- "10"
git:
depth: 2
quiet: true
install:
- npm install hexo-cli -g
before_script:
- git clone https://github.com/theme-suka/hexo-theme-unit-test.git suka-theme-test --depth=5
- cd suka-theme-test
- rm -rf .git
- npm i
- chmod +x ./install-theme.sh
- ./install-theme.sh
script:
- \cp -f ./theme_config.yml themes/suka/_config.yml
- hexo clean
- hexo g
- chmod +x ./deploy.sh
- ./deploy.sh > /dev/null
cache:
directories:
- node_modules
- themes/suka/node_modules
File renamed without changes.