# - Required for non-buggy xml library for XmlTypeCheck/UploadBaseTest (T75176).
dist: trusty
+git:
+ depth: 3
+ quiet: true
+
+# Cache NPM and Composer directories
+# <https://docs.travis-ci.com/user/caching/>
+cache:
+ npm: true
+ directories:
+ # Composer doesn't have a dedicated cache setting in Travis CI config, so set the directory path instead.
+ - vendor
+
matrix:
fast_finish: true
include:
- env: dbtype=mysql dbuser=root
php: hhvm-3.18
allow_failures:
- - php: hhvm-3.24
+ - php: hhvm-3.18
- php: hhvm-3.21
+ - php: hhvm-3.24
services:
- mysql
email: false
irc:
channels:
- - "chat.freenode.net#mediawiki-feed"
+ - "chat.freenode.net#wikimedia-dev"
+ template:
+ - "%{repository}#%{build_number} (%{branch} - %{commit} %{author}): %{message} - %{build_url}"
on_success: change
- on_failure: change
- skip_join: true
+ on_failure: always