Skip to content

Commit

Permalink
6.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
inc2734 committed Aug 9, 2018
1 parent afd1e6f commit 809c4fe
Show file tree
Hide file tree
Showing 96 changed files with 10,847 additions and 5,334 deletions.
16 changes: 6 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,8 @@ before_install:
- mv .travis/github_deploy_key ~/.ssh/id_rsa
- chmod 600 ~/.ssh/id_rsa
install:
- nvm install 6
- npm install -g yarn
- yarn install
- npm rebuild node-sass
- nvm install 8
- npm install
- composer install
before_script:
- bash bin/install-wp-tests.sh wordpress_test root '' localhost $WP_VERSION
Expand All @@ -41,13 +39,11 @@ after_success:
- pwd
- ls -al
before_deploy:
- git clone -b release --quiet [email protected]:inc2734/mimizuku.git release
- cp package.json gulpfile.js yarn.lock release
- cd release
- yarn install
- yarn run gulp zip
- rm -rf resources/vendor
- composer install --no-dev
- npm run zip
- ls -la mimizuku.zip
- export RELEASE_FILE=$(ls mimizuku.zip)
- export RELEASE_FILE=$(ls .zip)mimizuku
deploy:
provider: releases
api_key:
Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ Mimizuku is a WordPress starter theme or theme framework for child themes develo
* WP-CLI
* Composer
* Node.js
* Yarn

## Browser support
* IE10 + Modern browser
Expand All @@ -28,9 +27,9 @@ Mimizuku is a WordPress starter theme or theme framework for child themes develo
$ cd /PATH/TO/wp-content/themes
$ git clone https://github.com/inc2734/mimizuku.git your-theme-name
$ cd your-theme-name
$ yarn install
$ npm install
$ composer install
$ yarn run gulp build
$ npm run build
$ wp theme activate your-theme-name
```

Expand Down
12 changes: 8 additions & 4 deletions bin/create-release-branch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,17 @@ ls | xargs rm -rf
ls -la
cd ../
rm -rf node_modules
yarn install
npm install
rm -rf vendor
composer install --no-dev
cp -r resources/. release/
cd release
ls -la

git add -A
git commit -m "[ci skip] release branch update from travis $TRAVIS_COMMIT"
git push origin release
if [ -z "$(git status --porcelain)" ]; then
exit 0;
else
git add -A
git commit -m "[ci skip] release branch update from travis $TRAVIS_COMMIT"
git push origin release
fi
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
},
"require": {
"php": ">=5.6",
"inc2734/mimizuku-core": ">=2.4.11"
"inc2734/mimizuku-core": ">=2.7.1"
},
"config": {
"process-timeout": 0,
Expand All @@ -42,7 +42,7 @@
"wpphpunit": "bash bin/wpphpunit.sh",
"phpunit": "bash bin/phpunit.sh",
"post-install-cmd": [
"yarn run gulp build"
"npm run build"
],
"post-update-cmd": [
"composer run post-install-cmd"
Expand Down
Loading

0 comments on commit 809c4fe

Please sign in to comment.