Skip to content

miya0001/auto-build

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

Build WordPress Plugin On Travis CI

This is a simple shell script that builds a WordPress plugin on Travis CI for GitHub releases API.

  • Run composer install.
  • Remove unused files listed in .distignore.
  • Generate a zip file.
$ curl https://raw.githubusercontent.com/miya0001/auto-build/master/auto-build.sh | bash

It probably should be use with following project. 😄

https://github.com/miya0001/gh-auto-updater

How to Build WordPress Plugin on Travis CI

Scaffolds a plugin.

$ wp scaffold plugin xxxx

Generate a deploy section for GitHub Releases.

$ travis setup releases

Add an build script into .travis.yml.

after_success:
- curl https://raw.githubusercontent.com/miya0001/auto-build/master/auto-build.sh | bash

About

Build the WordPress plugin automatically for GitHub Releases.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages