Skip to content

Commit 0e76f46

Browse files
committed
travis yml file
1 parent 5d37bfa commit 0e76f46

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.travis.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)