Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/vendor
composer.lock
21 changes: 21 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
language: php

matrix:
include:
- php: '7.0'
env: SNIFF=1
allow_failures:
- php: '7.0'
env: SNIFF=1

before_install:
- if [[ "$SNIFF" == "1" ]]; then export PHPCS_DIR=$PWD/vendor/bin; fi
- if [[ "$SNIFF" == "1" ]]; then export SNIFFS_DIR=$PWD/vendor/wp-coding-standards/wpcs; fi
- composer install
- composer update
- ./vendor/bin/phpcs --config-set installed_paths $SNIFFS_DIR
- ./vendor/bin/phpcs -i
- if [[ "$SNIFF" == "1" ]]; then ./vendor/bin/phpcs --config-set installed_paths $SNIFFS_DIR; fi

script:
- if [[ "$SNIFF" == "1" ]]; then ./vendor/bin/phpcs -p . --standard=WordPress; fi
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[![Build Status](https://travis-ci.org/wpugph/gwt-wordpress.svg?branch=master)](https://travis-ci.org/wpugph/gwt-wordpress)

#Government Web Template (GWT) for WordPress

Use this as a a guide for creating your banner slider images:
Expand Down
20 changes: 20 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"name": "iGovPhil/gwt-wordpress",
"license": "GPL-2.0-or-later",
"description": "Philippine Government WordPress Template",
"homepage": "http://i.gov.ph/gwt/wordpress-template/",
"keywords": [
"wordpress", "wp", "Philippine Govt WP Template"
],
"support": {
"issues": "https://github.com/iGovPhil/gwt-wordpress/issues"
},
"require-dev": {
"squizlabs/php_codesniffer": "3.*",
"wp-coding-standards/wpcs": "2.0.*"
},
"scripts": {
"format": "phpcbf --standard=phpcs.ruleset.xml --report-summary --report-source",
"lint": "phpcs --standard=phpcs.ruleset.xml --report-summary --report-source"
}
}