diff options
author | Lukas Reschke <lukas@owncloud.com> | 2016-03-16 14:57:10 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2016-03-16 15:10:45 +0100 |
commit | aee10f0281783d915d7cc5e4c09e9131a3758208 (patch) | |
tree | ae2a396add0a222870acbefa9ec57908093b2abb /.travis.yml | |
parent | 7e92ef37e3006f9b1e71ef13284038c22faa1a12 (diff) | |
download | nextcloud-server-aee10f0281783d915d7cc5e4c09e9131a3758208.tar.gz nextcloud-server-aee10f0281783d915d7cc5e4c09e9131a3758208.zip |
[stable8.2] Execute parallel-lint
Backport of https://github.com/owncloud/core/pull/22994 and https://github.com/owncloud/core/pull/23303
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 00000000000..9c33dc669f1 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,25 @@ +sudo: false +language: php +php: + - 5.4 + +branches: + only: + - master + - /^stable\d+(\.\d+)?$/ + +script: + - sh -c "if [ '$TC' = 'syntax' ]; then composer install && vendor/bin/parallel-lint --exclude vendor/jakub-onderka/ --exclude 3rdparty/patchwork/utf8/class/Patchwork/Utf8/Bootup/ .; fi" + +matrix: + include: + - php: 5.4 + env: DB=sqlite;TC=syntax + - php: 5.5 + env: DB=sqlite;TC=syntax + - php: 5.6 + env: DB=sqlite;TC=syntax + - php: 7.0 + env: DB=sqlite;TC=syntax + + fast_finish: true |