Localisation updates from https://translatewiki.net.
[mediawiki.git] / .travis.yml
blob64075f1da2f9515116971ac74192a0fd4dfc7f6a
1 # Travis CI build configuration for MediaWiki
2 # <https://travis-ci.org/wikimedia/mediawiki-core>
4 # The Wikimedia Foundation uses a self-hosted Jenkins instance to run unit
5 # tests, but it tests code against the version of PHP that is deployed on
6 # Wikimedia's production cluster. This Travis CI configuration is designed to
7 # complement that setup by testing MediaWiki on travis
9 language: php
11 php:
12   - hhvm-nightly
14 services:
15   - mysql
17 branches:
18   # Test changes in master and in Wikimedia's production branches.
19   only:
20     - master
21     - /^wmf\/.*$/
23 before_install:
24   - sudo apt-get install -qq djvulibre-bin tidy
25   - composer self-update --quiet --no-interaction
27 before_script:
28   - composer install --prefer-source --quiet --no-interaction
29   - >
30       php maintenance/install.php traviswiki admin
31       --pass travis
32       --dbname traviswiki
33       --dbuser travis
34       --dbpass ""
35       --scriptpath "/w"
37 script:
38   - php tests/phpunit/phpunit.php
40 notifications:
41   irc:
42     channels:
43       - "chat.freenode.net#mediawiki-core"
44     on_success: change
45     on_failure: change
46     skip_join: true