Skip to content
This repository has been archived by the owner on Sep 16, 2019. It is now read-only.

Commit

Permalink
Merge pull request #1017 from olefredrik/remove-travis-ci
Browse files Browse the repository at this point in the history
Remove travis ci
  • Loading branch information
olefredrik authored Jul 28, 2017
2 parents f4c26fd + b75cd46 commit 981a843
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 216 deletions.
111 changes: 0 additions & 111 deletions .travis.yml

This file was deleted.

28 changes: 2 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# FoundationPress [![Build Status](https://travis-ci.org/olefredrik/FoundationPress.svg?branch=master)](https://travis-ci.org/olefredrik/FoundationPress)
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/olefredrik/foundationpress?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
# FoundationPress [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/olefredrik/foundationpress?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)

This is a starter-theme for WordPress based on Foundation 6, the most advanced responsive (mobile-first) framework in the world. The purpose of FoundationPress, is to act as a small and handy toolbox that contains the essentials needed to build any design. FoundationPress is meant to be a starting point, not the final product.

Expand All @@ -9,7 +8,7 @@ All contributions are welcome!

## Requirements

**This project requires [Node.js](http://nodejs.org) v4.x.x to v6.9.x to be installed on your machine.** Please be aware that you will most likely encounter problems with the installation if you are using v7.1.0 with all the latest features.
**This project requires [Node.js](http://nodejs.org) v4.x.x to v6.11.x to be installed on your machine.** Please be aware that you will most likely encounter problems with the installation if you are using the most current Node version (bleeding edge) with all the latest features.

FoundationPress uses [Sass](http://Sass-lang.com/) (CSS with superpowers). In short, Sass is a CSS pre-processor that allows you to write styles more effectively and tidy.

Expand Down Expand Up @@ -84,34 +83,11 @@ Version control on these files are turned off because they are automatically gen

* `assets/javascript/vendor`: Vendor scripts are copied from `assets/components/` to this directory. We use this path for enqueing the vendor scripts in WordPress.

### Check For WordPress Coding Standards

Foundation comes with everything you need to run tests that will check your theme for WordPress Coding Standards. To enable this feature you'll need to install PHP Codesniffer, along with the WordPress Coding Standards set of "Sniffs". You'll need to have [Composer](https://getcomposer.org/) To install both run the following:
```bash
$ composer create-project wp-coding-standards/wpcs:dev-master --no-dev
```
When prompted to remove existing VCS, answer Yes by typing `Y`.

Once you have installed the packages, you can check your entire theme by running:
```bash
$ npm run phpcs
```

If there are errors that Code Sniffer can fix automatically, run the following command to fix them:
```bash
$ npm run phpcbf
```

## Demo

* [Clean FoundationPress install](http://foundationpress.olefredrik.com/)
* [FoundationPress Kitchen Sink - see every single element in action](http://foundationpress.olefredrik.com/kitchen-sink/)

## Unit Testing With Travis-CI

FoundationPress is completely ready to be deployed to and tested by Travis-CI for WordPress Coding Standards and best practices. All you need to do to activate the test is sign up and follow the instructions to point Travis-CI towards your repo. Just don't forget to update the status badge to point to your repositories unit test.
[Travis-CI](https://travis-ci.org/)

## UI toolkits for rapid prototyping

* [Foundation UI Kit for Axure RP](https://gumroad.com/l/foundation-ui-kit-axure-rp)
Expand Down
47 changes: 0 additions & 47 deletions codesniffer.ruleset.xml

This file was deleted.

28 changes: 0 additions & 28 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,6 @@ var PATHS = {
// Include your own custom scripts (located in the custom folder)
'assets/javascript/custom/*.js',
],
phpcs: [
'**/*.php',
'!wpcs',
'!wpcs/**',
],
pkg: [
'**/*',
'!**/node_modules/**',
Expand Down Expand Up @@ -194,29 +189,6 @@ gulp.task('build', ['clean'], function(done) {
done);
});

// PHP Code Sniffer task
gulp.task('phpcs', function() {
return gulp.src(PATHS.phpcs)
.pipe($.phpcs({
bin: 'wpcs/vendor/bin/phpcs',
standard: './codesniffer.ruleset.xml',
showSniffCode: true,
}))
.pipe($.phpcs.reporter('log'));
});

// PHP Code Beautifier task
gulp.task('phpcbf', function () {
return gulp.src(PATHS.phpcs)
.pipe($.phpcbf({
bin: 'wpcs/vendor/bin/phpcbf',
standard: './codesniffer.ruleset.xml',
warningSeverity: 0
}))
.on('error', $.util.log)
.pipe(gulp.dest('.'));
});

// Clean task
gulp.task('clean', function(done) {
sequence(['clean:javascript', 'clean:css'],
Expand Down
4 changes: 0 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@
"gulp-jshint": "^2.0.0",
"gulp-load-plugins": "^1.1.0",
"gulp-notify": "^2.2.0",
"gulp-phpcbf": "latest",
"gulp-phpcs": "^1.0.0",
"gulp-plumber": "^1.0.1",
"gulp-sass": "^3.1.0",
"gulp-sourcemaps": "^1.6.0",
Expand All @@ -69,8 +67,6 @@
"scripts": {
"build": "gulp build",
"package": "gulp package --production",
"phpcs": "gulp phpcs",
"phpcbf": "gulp phpcbf",
"postinstall": "bower install && gulp build",
"production": "gulp --production",
"watch": "gulp"
Expand Down

0 comments on commit 981a843

Please sign in to comment.