This repository has been archived by the owner on Mar 13, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update npm packages and Gruntfile * Add image license to readme.txt * Add replace:charset to the watch:sass Grunt.js task (#34) * WordPress 4.9.6 Support (#38) * Introduce styles for cookie comment checkbox & privacy policy footer link * Run replace:charset * Update readme, update travis deploy * Bump tested up to version
- Loading branch information
Evan Herman
committed
May 24, 2018
1 parent
d7aa66b
commit 8a3b6f2
Showing
13 changed files
with
5,172 additions
and
107 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
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
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,29 +1,58 @@ | ||
sudo: false | ||
|
||
notifications: | ||
email: | ||
on_success: never | ||
on_failure: change | ||
|
||
cache: | ||
directories: | ||
- node_modules | ||
- vendor | ||
- $HOME/.composer/cache | ||
- $HOME/.wp-cli/cache | ||
- $HOME/.wp-cli/packages/cache | ||
|
||
language: | ||
- php | ||
- node_js | ||
|
||
branches: | ||
only: | ||
- /^v\d.*$/ | ||
- master | ||
- develop | ||
|
||
env: | ||
global: | ||
- WP_THEME=uptown-style | ||
|
||
before_install: | ||
- phpenv config-rm xdebug.ini | ||
|
||
before_script: | ||
- curl -s https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli-nightly.phar > /tmp/wp-cli.phar | ||
- curl https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli-nightly.phar > /tmp/wp-cli.phar | ||
- chmod +x /tmp/wp-cli.phar | ||
|
||
script: | ||
- echo "Deploy only" | ||
|
||
before_deploy: | ||
- export RELEASE_FOLDER=uptown-style | ||
- php /tmp/wp-cli.phar package install runcommand/dist-archive | ||
- cp -rv ${TRAVIS_BUILD_DIR} /tmp/${RELEASE_FOLDER} | ||
- mv /tmp/${RELEASE_FOLDER} ${TRAVIS_BUILD_DIR} | ||
- php /tmp/wp-cli.phar dist-archive ${RELEASE_FOLDER} ${TRAVIS_BUILD_DIR}/${RELEASE_FOLDER}.zip --format=zip --debug | ||
- mkdir -p /tmp/$WP_THEME | ||
- rsync -av --exclude-from $TRAVIS_BUILD_DIR/.distignore --delete $TRAVIS_BUILD_DIR/ /tmp/$WP_THEME/ | ||
- cd /tmp | ||
- zip -rT $TRAVIS_BUILD_DIR/$WP_THEME.zip $WP_THEME/ | ||
- sha256sum -b $TRAVIS_BUILD_DIR/$WP_THEME.zip | awk '{print $1}' | tee $TRAVIS_BUILD_DIR/$WP_THEME.zip.sha256 | ||
|
||
deploy: | ||
provider: releases | ||
api_key: | ||
secure: Y6mWxcVwPJvGTsgfEexathGOFbIIU+ihLVyzUK0hLndcNnk74Op3ZeDS5dymS9VobpAbaMIbko+Jlyua5cHkkgV89kkPXoW6auY1GRywMkYAGOoBzrFoHMBNFlbh6R55UDNDfxglIwv61iepe/LiXyYuuvNPmzi6nNH6B+d58AaV9DpPs5r8GJR/SL5jl2sqeJPcPyu5TycqfUiXEgijrvS6/bXlALkXRH12Qfq1T9ccgGZprLt6MM42YMnxiE+dGH5md6ReAzHbO6T8fHQOgA7dCiv+wk/jjoYaU7JMaCGgJ/GohAjcALoqav9rJMFxwi7aI+E7Ph3flM3L81NgHNcmW/rYDNbSad6DtKZXKQJgKZ8UA+gFY0zbqEbEXsoVegJE3EmJlQFBB6Nm+B0RmKVrlqg5A1nNZqWq5fAmUWargBkc8bivSkvnFbdis7G6WWvWVvEnbKtVIzrOeaqlnFuOgzNSDWkJrNZqPyg8jvSrVx8nuO4OWMaUy/IbpGvbNrdXnk8Vv5JspJKcJu3ZXud5yqAzWWgmBD6I+3l5kbECYIVpKuORhqcv/dwuyXkhwRncd82lCMkShLNJF7piuDvfQLPlL7ycDyyWjsgjg1FXtoUlp5n3sVEkYLndntcdh8mfhtL+xIw/Dx62QGa7ZFaU8mP5UMUB5iESXjgZk3A= | ||
file: uptown-style.zip | ||
secure: do1Jd8PD6IsIp2cxjO2R9VSTQEl4EkGPunObPnNaJ64cwi/g/6O/cAMyYrFyx0fi+WnHILSu/jLjUdvHcnH/WyIfbL1hdKk1ux7h0LgNjbDjp2UxkhwCQF4eR+9Q64WNxy1THDRrQc9tUaM8rQI1PTN85W34ZB2MOp9e2ClpGw1FzNrRCwr7wI2nprY5vrH7wSj/YNZsdvJ3fQ+BNUFLJkDuWpilqGgy9JwYHZDZu1xCcWbsVeaojGISLHZR5JaiD5fzFy5kH9cgvW6CnsmuaNWzS3agWpTQA+1qyWQmBPWPd4JV0j+NOx+pgORE3N2snjflgoqG7fsLIovq0AAChj5AqBmomN42J/xsTyGJn3qG9QasdkHsBfIIYfc45jhZ5QAwCxGCEdrRqNMEfLSrqYp1N0N0QReCAbeNl0CW4o2jDiPbZ+9dOCpBSHUDnmsZ85KohUmx5LYJV6i0k3JsLuzB55t0oBsyIEaDcdjmeqXMA1J/bQH3G9mhn5SBWWO7ND6xHsCnOkPrnQJCtS5VJG1XjazqwSvXROfc3PvLJnQ/R2Oq/iehBGb/Oa/H9AfhlOrESuWDi/Hq35sHDbOBnuXAHa7kurLw6I2COxT5nD412NTfOWYKZ/0jQyctTYX3rard8PE6Xr4zHuhmLZKjpkTmJfdXTd4L8bM9XlZSjrc= | ||
file: | ||
- "$TRAVIS_BUILD_DIR/$WP_THEME.zip" | ||
- "$TRAVIS_BUILD_DIR/$WP_THEME.zip.sha256" | ||
skip_cleanup: true | ||
overwrite: true | ||
on: | ||
tags: true | ||
repo: godaddy/wp-uptown-style-theme | ||
skip_cleanup: true | ||
overwrite: true |
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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.