Add mw-ui-checkbox
[mediawiki.git] / .travis.yml
blobdedb4e14a74adf6ff9788a9a3762ae67016fc95c
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   email: false
42   irc:
43     channels:
44       - "chat.freenode.net#mediawiki-core"
45     on_success: change
46     on_failure: change
47     skip_join: true