1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-11 19:24:01 +02:00

[ticket/14970] Run stylelint on travis

PHPBB3-14970
This commit is contained in:
Marc Alexander
2017-01-08 14:36:30 +01:00
parent 47caa97ff2
commit 1be84e0233
2 changed files with 30 additions and 0 deletions

24
travis/check-stylesheet.sh Executable file
View File

@@ -0,0 +1,24 @@
#!/bin/bash
#
# This file is part of the phpBB Forum Software package.
#
# @copyright (c) phpBB Limited <https://www.phpbb.com>
# @license GNU General Public License, version 2 (GPL-2.0)
#
# For full copyright and license information, please see
# the docs/CREDITS.txt file.
#
set -e
set -x
DB=$1
TRAVIS_PHP_VERSION=$2
NOTESTS=$3
if [ "$NOTESTS" == '1' ]
then
cd phpBB
npm install -g
npm install
stylelint --config ../.stylelintrc "styles/prosilver/theme/*.css"
fi