Preparing the release 3.1.7
[GitHub/WoltLab/com.woltlab.wcf.conversation.git] / .travis.yml
CommitLineData
739e957c 1language: php
1f5a6b66 2sudo: false
739e957c 3php:
64aca972 4 - 7.1
5c775bb3 5 - 5.5
739e957c 6before_install:
fc1f123c 7 - export PATH="$PATH:$(composer global config bin-dir --absolute)"
76f39546 8 - composer global require "squizlabs/php_codesniffer=3.*"
739e957c
TD
9 - phpenv rehash
10before_script:
11 - git clone --branch=master --depth=1 --quiet git://github.com/WoltLab/WCF.git WCF
12script:
d9290493 13 - find files -type f -name '*.php' |xargs -I file php -l file
8e54b83b 14 - phpcs -p --extensions=php --standard="`pwd`/WCF/CodeSniff/WCF" files