Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
984aec6
Add support for "Unsplash" (https://unsplash.com/)
salvoventura Jun 27, 2017
7d2f01a
Merge pull request #1 from salvoventura/salvoventura-patch-unsplash
salvoventura Jun 27, 2017
98bf18d
Replace space with Tab
salvoventura Jun 28, 2017
306b9b5
Remove 'deprecated' field
salvoventura Jun 28, 2017
416f3dd
Merge pull request #44 from salvoventura/develop
Jun 28, 2017
01d57ed
Bump tested up to
EvanHerman Oct 3, 2017
64e3425
Bump tested up to
EvanHerman Oct 3, 2017
73fb6e6
Repair readme.md badges
EvanHerman Oct 3, 2017
00bea55
Bump tested up to version
EvanHerman Nov 13, 2017
b693573
Spelling Fix (#48)
Jan 3, 2018
a7ff929
Update spelling error. Update translation files.
EvanHerman Jan 3, 2018
193f3c2
Bundle Font Awesome locally (with filters) (#41)
May 30, 2018
72d2851
PHPCS fixes (#49)
May 30, 2018
3b7e955
Update readme
EvanHerman May 30, 2018
9e0f717
Update unsplash changelog comment
EvanHerman May 30, 2018
ff658ab
Update unsplash changelog comment
EvanHerman May 30, 2018
7f40f66
Tweak margin on new svg element
EvanHerman May 31, 2018
3108932
Resolve conflicts
EvanHerman May 31, 2018
f6be10d
Fix Travis CI build (#52)
Jun 1, 2018
4ae54bb
Filter fields array before localizing into admin.js (#53)
Jun 14, 2018
5227d53
Resolve conflict with Font Awesome v4 (#55)
Jun 14, 2018
8cc4ec5
Update readme.txt
EvanHerman Jun 14, 2018
c4c64a0
Merge branch 'master' into develop
EvanHerman Jun 14, 2018
db540f2
Default Font Awesome 4 with possibility to load Font Awesome 5 (#57)
Jun 18, 2018
5be02c7
Update readme
EvanHerman Jun 18, 2018
c24768e
Update readme
EvanHerman Jun 18, 2018
4fdcd3b
Update readme and filter names
EvanHerman Jun 18, 2018
a6976ab
Merge branch 'master' into develop
EvanHerman Jun 18, 2018
b9d7789
Gutenberg Blocks (#61)
Dec 6, 2018
5705157
Update readme for release
EvanHerman Dec 6, 2018
abc4e78
Resolve merge conflict
EvanHerman Dec 6, 2018
f8e5efa
Update dist-archive repo URL
EvanHerman Dec 9, 2018
d53de55
URI encode contact block map address (#65)
Dec 9, 2018
c981bc3
Merge branch 'master' into develop
EvanHerman Dec 9, 2018
38e463a
Merge branch 'develop' of github.com:godaddy/wp-contact-widgets into …
EvanHerman Dec 9, 2018
5e1927e
Bump tested up to version
EvanHerman Dec 10, 2018
61dd929
Tweak frontend stylesheet dependencies
EvanHerman Feb 20, 2019
696c527
Fix typo
EvanHerman Feb 20, 2019
d2576ca
Switch // xss ok to // phpcs:ignore
EvanHerman Feb 20, 2019
2b7ffa9
Update changelog for v1.6.2
EvanHerman Feb 20, 2019
4126b49
Resolve PHPCS warnings
EvanHerman Feb 20, 2019
564c044
Updates
EvanHerman Feb 20, 2019
5074402
Bump tested up to version
EvanHerman May 6, 2019
54a9217
Bump tested up to version
EvanHerman May 6, 2019
78d223a
Fix/jQuery constant (#74)
Nov 15, 2019
ea63167
Update readme for 1.7.0 release
EvanHerman Nov 15, 2019
1022a02
Update readme
EvanHerman Nov 15, 2019
0e67851
Bump extend from 3.0.1 to 3.0.2 (#75)
dependabot[bot] Jan 30, 2020
67f9a34
Bump macaddress from 0.2.8 to 0.2.9 (#76)
dependabot[bot] Jan 30, 2020
fb6d49f
Bump clean-css from 4.1.9 to 4.1.11 (#77)
dependabot[bot] Jan 30, 2020
a143edd
Bump mixin-deep from 1.3.1 to 1.3.2 (#78)
dependabot[bot] Jan 30, 2020
e87cffc
try npm shrinkwrap (#81)
AnthonyLedesma May 6, 2020
cfdc553
Update Project Dependencies (#82)
AnthonyLedesma May 13, 2020
de64112
Add PHP linting (#83)
jrtashjian May 22, 2020
c498e94
Bump tested up to 5.7 (#95)
EvanHerman Jun 8, 2021
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
148 changes: 148 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,148 @@
workflows:
version: 2.1
main:
jobs:
# Support PHP Versions
# http://php.net/supported-versions.php
- php72
- php73
- deploy:
requires:
- php72
- php73
filters:
tags:
only: /^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(-(0|[1-9][0-9]*)(\.(0|[1-9][0-9]*))*)?(\+[0-9-]+(\.[0-9]+)*)?/ # Run on semantic version tags only
branches:
ignore: /.*/

version: 2.1
jobs:
php72:
docker:
- image: circleci/php:7.2-node
steps:
- checkout
- run:
name: Increase PHP memory limit
command: echo 'memory_limit = -1' | sudo tee -a /usr/local/etc/php/conf.d/docker-php-memlimit.ini
- run:
name: Update npm
command: sudo npm install -g npm@latest
- restore_cache:
key: php72-build-dependency-cache--{{ checksum "composer.json" }}
- run:
name: Install composer packages
command: composer install
- save_cache:
key: php72-build-dependency-cache--{{ checksum "composer.json" }}
paths:
- vendor
- run:
name: "Validate Composer configuration"
command: composer validate --strict
- run:
name: "Run PHPCS"
command: composer run lint -- -v

php73:
docker:
- image: circleci/php:7.3-node
steps:
- checkout
- run:
name: Increase PHP memory limit
command: echo 'memory_limit = -1' | sudo tee -a /usr/local/etc/php/conf.d/docker-php-memlimit.ini
- run:
name: Update npm
command: sudo npm install -g npm@latest
- restore_cache:
key: php73-build-dependency-cache--{{ checksum "composer.json" }}
- run:
name: Install composer packages
command: composer install
- save_cache:
key: php73-build-dependency-cache--{{ checksum "composer.json" }}
paths:
- vendor
- run:
name: "Validate Composer configuration"
command: composer validate --strict
- run:
name: "Run PHPCS"
command: composer run lint -- -v

deploy:
docker:
- image: circleci/golang:latest-node-browsers-legacy
steps:
- checkout
- run:
name: Increase PHP memory limit
command: echo 'memory_limit = -1' | sudo tee -a /usr/local/etc/php/conf.d/docker-php-memlimit.ini
- run:
name: Update npm
command: sudo npm install -g npm@latest
- run:
name: Install Grunt.js
command: sudo npm install -g grunt-cli
- run:
name: Install PHP
command: sudo apt-get install php libapache2-mod-php php-mbstring php-xml php-curl
- run:
name: Disable xdebug PHP extension
command: |
sudo rm -f /etc/php/*/mods-available/xdebug.ini
sudo rm -f /etc/php/*/mods-enabled/xdebug.ini
sudo rm -f /etc/php/*/conf.d/*xdebug.ini
sudo rm -f /usr/local/etc/php/conf.d/*xdebug.ini
- run:
name: Install Composer
command: |
wget https://raw.githubusercontent.com/composer/getcomposer.org/master/web/installer -O composer-setup.php
php composer-setup.php
php -r "unlink('composer-setup.php');"
sudo mv composer.phar /usr/local/bin/composer
- run:
name: Install ghr
command: |
go get -u github.com/tcnksm/ghr
- restore_cache:
keys:
- npm-deps-{{ .Branch }}-{{ checksum "package-lock.json" }}
- npm-deps-{{ .Branch }}
- run:
name: Install node dependencies
command: |
npm install
- save_cache:
key: npm-deps-{{ .Branch }}-{{ checksum "package-lock.json" }}
paths:
- /home/circleci/project/node_modules
- /home/circleci/.npm
- restore_cache:
keys:
- composer-deps-{{ .Branch }}-{{ checksum "composer.lock" }}
- composer-deps-{{ .Branch }}
- run:
name: Install composer dependencies
command: |
composer config -g github-oauth.github.com $GH_ACCESS_TOKEN
composer install
- save_cache:
key: composer-deps-{{ .Branch }}-{{ checksum "composer.lock" }}
paths:
- /home/circleci/project/vendor
- run:
name: Build the plugin
command: |
mkdir -p /tmp/artifacts
npx grunt build
zip -r /tmp/artifacts/contact-widgets.zip ./build
- deploy:
name: Create a release on GitHub
command: |
CHANGELOG=$(sed -n -e '/== Changelog ==/,$p' $HOME/project/readme.txt | tail -n +4)
ghr -t ${GH_ACCESS_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} -b "${CHANGELOG}" -delete ${CIRCLE_TAG} /tmp/artifacts/contact-widgets.zip
- store_artifacts:
path: /tmp/artifacts
79 changes: 0 additions & 79 deletions .travis.yml

This file was deleted.

17 changes: 0 additions & 17 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,22 +78,6 @@ module.exports = function( grunt ) {
},
},

devUpdate: {
packages: {
options: {
packageJson: null,
packages: {
devDependencies: true,
dependencies: false
},
reportOnlyPkgs: [],
reportUpdated: false,
semver: true,
updateType: 'force'
}
}
},

imagemin: {
options: {
optimizationLevel: 3
Expand Down Expand Up @@ -286,7 +270,6 @@ module.exports = function( grunt ) {
require( 'matchdep' ).filterDev( 'grunt-*' ).forEach( grunt.loadNpmTasks );

grunt.registerTask( 'default', [ 'cssjanus', 'cssmin', 'jshint', 'uglify', 'imagemin', 'readme' ] );
grunt.registerTask( 'check', [ 'devUpdate' ] );
grunt.registerTask( 'build', [ 'default', 'shell:blocks_prod', 'clean:build', 'copy:build' ] );
grunt.registerTask( 'deploy', [ 'build', 'wp_deploy', 'clean:build' ] );
grunt.registerTask( 'readme', [ 'wp_readme_to_markdown' ] );
Expand Down
Loading