Skip to content

Commit

Permalink
Add releases.
Browse files Browse the repository at this point in the history
  • Loading branch information
fumikito committed Mar 16, 2020
1 parent 864c1f0 commit 7958bd7
Showing 1 changed file with 22 additions and 9 deletions.
31 changes: 22 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,32 @@ env:
- WP_VERSION=4.7 WP_MULTISITE=0
global:
- SVN_REPO: https://plugins.svn.wordpress.org/wp-yomigana/
- secure: "ow/7zbHLorjUZZh6hZbo61UCqk8Q49JZ5eWu+GMlHSa7qS1ECvhXKjqe9iw1t42W6g6p/JEMJhdPLbzxK1cGk7hUgQjFXaofY1ZRuxkFtRmF3dTYehqdhTIdUmkV/UDnL5dwAt6r4rSd/PrqcmArSn1CdY2D1znIwvMN5QGg9TI="
- secure: ow/7zbHLorjUZZh6hZbo61UCqk8Q49JZ5eWu+GMlHSa7qS1ECvhXKjqe9iw1t42W6g6p/JEMJhdPLbzxK1cGk7hUgQjFXaofY1ZRuxkFtRmF3dTYehqdhTIdUmkV/UDnL5dwAt6r4rSd/PrqcmArSn1CdY2D1znIwvMN5QGg9TI=
matrix:
include:
- php: 7.1
env: WP_VERSION=latest WP_MULTISITE=0 WP_PULUGIN_DEPLOY=1
before_script:
- composer install
- curl -s -o $HOME/.nvm/nvm.sh https://raw.githubusercontent.com/creationix/nvm/v0.33.8/nvm.sh
- source $HOME/.nvm/nvm.sh
- nvm install v10.13.0
- node --version
- npm install && npm run package
- bash bin/install-wp-tests.sh wordpress_test root '' localhost $WP_VERSION
- composer install
- curl -s -o $HOME/.nvm/nvm.sh https://raw.githubusercontent.com/creationix/nvm/v0.33.8/nvm.sh
- source $HOME/.nvm/nvm.sh
- nvm install v10.13.0
- node --version
- npm install && npm run package
- bash bin/install-wp-tests.sh wordpress_test root '' localhost $WP_VERSION
script:
- composer test
- composer test
after_success: curl -L https://raw.githubusercontent.com/miya0001/travis2wpplugin/master/deploy.sh | bash
before_deploy:
- zip -r wp-yomigana.zip wp-yomigana/
deploy:
provider: releases
api_key:
secure: DWKO5DoBr71Iqxgr/t1gAIkzyCH8XksabudRVeFz+lmV4xcUOD68TH22/2Zl35V5PuFPnlh0eIgtDmWi88YAgJZvp3HWbNNJViRnPu/UrR4SgrMnlCaw1H15tG13Bzl0ndVa6jWa2tZwEJZ/hbZhl3Hkdek/4b4o4LoeqWL4XeY=
file: wp-yomigana.zip
skip_cleanup: true
on:
repo: fumikito/WP-Yomigana
tags: true
php: 5.6
condition: $WP_VERSION = latest

0 comments on commit 7958bd7

Please sign in to comment.