We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d37bfa commit 0e76f46Copy full SHA for 0e76f46
.travis.yml
@@ -0,0 +1,24 @@
1
+language: php
2
+
3
+php:
4
+- '5.5'
5
+- '5.4'
6
7
8
+before_script:
9
+- THEME_SLUG=$(pwd)
10
+- cd /tmp/
11
+- git clone https://github.com/squizlabs/PHP_CodeSniffer.git phpcs
12
+- git clone https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards.git wpcs
13
+- cd phpcs
14
+- scripts/phpcs --config-set installed_paths ../wpcs
15
+- cd "$THEME_SLUG"
16
+- phpenv rehash
17
18
+script:
19
20
+- /tmp/phpcs/scripts/phpcs -p -s -v -n . --standard=WordPress --extensions=php
21
22
+notifications:
23
+ slack: jonathansblog:xcTlLtSp7QrTmEjxjH9Jq3bR
24
+ email: false
0 commit comments