remove travis, jshint and jscs config file

This commit is contained in:
IanDelMar 2022-03-07 03:00:56 +01:00
parent a48c10dd29
commit 07427df9af
7 changed files with 0 additions and 96 deletions

2
.gitattributes vendored
View File

@ -7,8 +7,6 @@
.editorconfig text
.gitattributes text
.gitignore text
.jscsrc text
.jshintignore text
*.css text
*.js text
*.json text

1
.github/README.md vendored
View File

@ -1,7 +1,6 @@
<p align="center"><img src="https://understrap.com/wp-content/uploads/2022/02/Understrap_Logo_Color.svg" width="320" height="auto"></p>
[![Build Status](https://api.travis-ci.org/understrap/understrap.svg?branch=master)](https://travis-ci.org/understrap/understrap)
[![Wordpress Theme Version](https://img.shields.io/wordpress/theme/v/understrap.svg)](https://wordpress.org/themes/understrap)
[![Wordpress Theme Active Installs](https://img.shields.io/wordpress/theme/installs/understrap.svg)](https://wordpress.org/themes/understrap/)
[![Github Last Commit](https://img.shields.io/github/last-commit/understrap/understrap)](https://github.com/understrap/understrap/commits/master)

3
.gitignore vendored
View File

@ -26,9 +26,6 @@
!.gitattributes
!.github
!.gitignore
!.jscsrc
!.jshintignore
!.travis.yml
# Ignore all files with .lock extentions
*.lock

13
.jscsrc
View File

@ -1,13 +0,0 @@
{
"preset": "wordpress",
"fileExtensions": [ ".js" ],
"excludeFiles": [
"js/**.min.js",
"src/**/*.js",
"js/popper.js",
"js/theme.js",
"gulpfile.js",
"vendor/**",
"node_modules/**"
]
}

View File

@ -1,7 +0,0 @@
js/**.min.js
src/**/*.js
js/popper.js
js/theme.js
gulpfile.js
node_modules
vendor

View File

@ -1,67 +0,0 @@
# Travis CI configuration file.
# @link https://travis-ci.org/
# For use with the UnderStrap WordPress theme
# @link https://github.com/understrap/understrap
# Declare virtual environment and operating system.
# @link https://docs.travis-ci.com/user/reference/overview/#virtualization-environments
os: linux
dist: xenial
# Declare project language and PHP versions to test against.
# @link https://docs.travis-ci.com/user/languages/php/
language: php
php:
- '5.6'
- '7.0'
- '7.1'
- '7.2'
- '7.3'
- '7.4'
- nightly
matrix:
fast_finish: true
include:
- php: 7.4
env: PHPCS=1
allow_failures:
- php: nightly
# Use this to prepare the build for testing.
before_script:
# Speed up build time by disabling Xdebug.
- phpenv config-rm xdebug.ini || echo 'No xdebug config.'
# Install composer dependencies
- if [ "$TRAVIS_PHP_VERSION" != "nightly" ]; then
composer install;
else
composer install --ignore-platform-reqs;
fi
# Install JSCS: JavaScript Code Style checker
# @link http://jscs.info/
- if [[ "$PHPCS" == 1 ]]; then npm install -g jscs; fi
# Install JSHint, a JavaScript Code Quality Tool
# @link https://jshint.com/docs/
- if [[ "$PHPCS" == 1 ]]; then npm install -g jshint; fi
- if [[ "$PHPCS" == 1 ]]; then wget https://develop.svn.wordpress.org/trunk/.jshintrc; fi
# Run test script commands.
# Default is specific to project language.
# All commands must exit with code 0 on success. Anything else is considered failure.
script:
# Validate the composer.json file.
# @link https://getcomposer.org/doc/03-cli.md#validate
- if [[ "$PHPCS" == 1 ]]; then composer validate --no-check-all --strict; fi
# Lint the PHP files against parse errors.
- composer lint:php
# Check the code against the standards as documented in the phpcs.xml file.
- if [[ "$PHPCS" == 1 ]]; then composer check:cs; fi
# Run the theme through JSHint
- if [[ "$PHPCS" == 1 ]]; then jshint .; fi
# Run the theme through JavaScript Code Style checker
- if [[ "$PHPCS" == 1 ]]; then jscs .; fi

View File

@ -15,9 +15,6 @@ async function copyDir( src, dest ) {
'.editorconfig',
'.gitattributes',
'.gitignore',
'.jscsrc',
'.jshintignore',
'.travis.yml',
'composer.json',
'composer.lock',
'package.json',