-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump version, add Travis release script.
- Loading branch information
Ned Zimmerman
committed
Jul 10, 2017
1 parent
82902ea
commit d4a8dc6
Showing
4 changed files
with
37 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,46 +1,51 @@ | ||
language: php | ||
|
||
notifications: | ||
email: | ||
on_success: never | ||
on_failure: change | ||
|
||
branches: | ||
only: | ||
- dev | ||
|
||
- "/\\d+\\.\\d+(\\.\\d+)?(-\\S*)?$/" | ||
php: | ||
- 5.6 | ||
- 7.0 | ||
- 7.1 | ||
- nightly | ||
|
||
- 5.6 | ||
- 7.0 | ||
- 7.1 | ||
- nightly | ||
env: | ||
- TRAVIS_NODE_VERSION="6" | ||
- TRAVIS_NODE_VERSION="7" | ||
|
||
- TRAVIS_NODE_VERSION="6" | ||
- TRAVIS_NODE_VERSION="7" | ||
matrix: | ||
fast_finish: true | ||
allow_failures: | ||
- php: nightly | ||
|
||
cache: | ||
apt: true | ||
directories: | ||
- $HOME/.composer/cache | ||
- node_modules | ||
- vendor | ||
|
||
- "$HOME/.composer/cache" | ||
- node_modules | ||
- vendor | ||
before_install: | ||
- source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION && nvm use $TRAVIS_NODE_VERSION | ||
|
||
- source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION && nvm use $TRAVIS_NODE_VERSION | ||
install: | ||
- node -v | ||
- npm install -g yarn | ||
- yarn | ||
- composer install | ||
|
||
- node -v | ||
- npm install -g yarn | ||
- yarn | ||
- composer install | ||
script: | ||
- yarn run lint | ||
- yarn run production | ||
- composer test | ||
- yarn run lint | ||
- yarn run production | ||
- composer test | ||
before_deploy: | ||
- composer install --no-dev | ||
- zip -9 -ry pressbooks-book-$TRAVIS_TAG.zip ../pressbooks-book | ||
-x *.git* *assets/fonts/\* *assets/images/\* *assets/scripts/\* *assets/styles/\* *node_modules/\* *tests/\* *.editorconfig* *.gitattributes* | ||
*.github* *.gitignore* *.travis.yml* *.tx* *phpcs.ruleset.xml* *webpack.mix.js* *yarn.lock* | ||
deploy: | ||
provider: releases | ||
api_key: | ||
secure: XdchVIQYOB87JkkIdkIfhQUeU6jkATDaAf2MypPNoiSJKmShVyWRxXehl0b8ieZqz8WP0wciZhDXfRSufbBIxeNy+nXh7dSn0L3BMOv7Up+/lYTmBIQUtXJM6UJV1CBALgcmO4K0vFVnUQzEi1TbTQK62QUgfTJ1sQBAKB7Eg7WMhgn3sSVhV0pADRJshsOTsuVMiZ3DuDnWQ3RzGjC0deIlKCr/GO4+R6W5giR7+05WPZOB9o/+ugD2ZbeblBJIk8kt6ZcyQBbhGv1cCEoSPsyXg4B7vA15jZdabDFkMu0ebbnpxgMWCuh2PReoc7jaefyR5/c+Le5mSelFkY/wEB92VBO2TcjgEzXbf5cx7AxWaI9AFyDf7XUrqept/0xXdmpyOzgg6J6SNcOoc9rs6P24q2RGYUCTUGcynd+wTzlsWWpL1pi/ZG2A3mvHaPfCltvyGgXxTBWCI3mTClEebu+rg0GED1LDGKlwlop4wFVvX+5KzBfuo5buULIouud1deav63xBq9Td7HGcAH9N3zwEOaNjTDCc/cw9ZgzjTcOC4sbyLLeFJ6xHpONd7HtvstibSlu5aHuDd6hRD3Kgzs11JUzXMwgo3jiCWTfAZ25lDisEVmIqYS+Ea8lyCoY+BLfDcPlEeyhOtlXfRT4n2xtGPWZmgbndvtOMXDXuDds= | ||
file: "pressbooks-book-$TRAVIS_TAG.zip" | ||
on: | ||
tags: true | ||
repo: pressbooks/pressbooks-book |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,8 @@ Description: Named after Martin Luther, this is a traditional book theme, good f | |
Author: Pressbooks (Book Oven Inc.) | ||
Author URI: https://pressbooks.com | ||
Copyright: 2011-2017 Pressbooks (Book Oven Inc. <[email protected]> | ||
Version: 1.9.0-RC2 | ||
Version: 1.9.0-RC3 | ||
Text Domain: pressbooks-book | ||
GitHub Theme URI: pressbooks/pressbooks-book | ||
Release Asset: true | ||
*/ |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,8 +5,9 @@ Description: Named after Martin Luther, this is a traditional book theme, good f | |
Author: Pressbooks (Book Oven Inc.) | ||
Author URI: https://pressbooks.com | ||
Copyright: 2011-2017 Pressbooks (Book Oven Inc. <[email protected]> | ||
Version: 1.9.0-RC2 | ||
Version: 1.9.0-RC3 | ||
GitHub Theme URI: pressbooks/pressbooks-book | ||
Release Asset: true | ||
*/ | ||
|
||
@import 'fonts-web', 'assets/legacy/styles/tables', 'assets/legacy/styles/textboxes', 'assets/styles/partials/colors'; | ||
|