Update Moment.js from 2.8.1 to 2.8.3
[lhc/web/wiklou.git] / .travis.yml
1 # Travis CI build configuration for MediaWiki
2 # <https://travis-ci.org/wikimedia/mediawiki-core>
3 #
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
8 #
9 language: php
10
11 php:
12 - hhvm-nightly
13 - 5.3
14
15 services:
16 - mysql
17
18 branches:
19 # Test changes in master and in Wikimedia's production branches.
20 only:
21 - master
22 - /^wmf\/.*$/
23
24 before_install:
25 - sudo apt-get install -qq djvulibre-bin tidy
26 - composer self-update --quiet --no-interaction
27
28 before_script:
29 - composer install --prefer-source --quiet --no-interaction
30 - >
31 php maintenance/install.php traviswiki admin
32 --pass travis
33 --dbname traviswiki
34 --dbuser travis
35 --dbpass ""
36 --scriptpath "/w"
37
38 script:
39 - php tests/phpunit/phpunit.php
40
41 notifications:
42 email: false
43 irc:
44 channels:
45 - "chat.freenode.net#mediawiki-core"
46 - "chat.freenode.net#mediawiki-feed"
47 on_success: change
48 on_failure: change
49 skip_join: true