Add Travis Config
authorTim Düsterhus <timwolla@arcor.de>
Thu, 20 Dec 2012 16:15:33 +0000 (17:15 +0100)
committerTim Düsterhus <timwolla@arcor.de>
Thu, 20 Dec 2012 16:15:33 +0000 (17:15 +0100)
.travis.yml [new file with mode: 0644]

diff --git a/.travis.yml b/.travis.yml
new file mode 100644 (file)
index 0000000..c25b47b
--- /dev/null
@@ -0,0 +1,11 @@
+language: php
+php:
+  - 5.4
+  - 5.3
+before_install:
+  - pear install pear/PHP_CodeSniffer
+  - phpenv rehash
+before_script:
+  - git clone --branch=master --depth=1 --quiet git://github.com/WoltLab/WCF.git WCF
+script:
+  - phpcs -p --extensions=php --standard="`pwd`/WCF/CodeSniff/WCF" files
\ No newline at end of file