]> CyberLeo.Net >> Repos - Github/YOURLS.git/blob - .travis.yml
Add Travis translations test
[Github/YOURLS.git] / .travis.yml
1 language: php
2 php:
3   - 5.3
4   - 5.4
5   - 5.5
6
7 env:
8   - DB=mysql
9
10 before_script:
11   - git clone --branch=travis-ci git://github.com/YOURLS/YOURLS-unit-tests.git tests
12   - git clone git://github.com/ozh/YOURLS-fr_FR.git user/languages
13   - mysql -e 'create database IF NOT EXISTS yourls_tests;'
14   - cp tests/yourls-tests-config.php user/config.php
15
16 script: phpunit --coverage-text --configuration ./tests/phpunit.xml.dist
17
18 after_script: rm user/config.php
19
20 notifications:
21   email: false
22   irc:
23     channels:
24       - "irc.freenode.org#YOURLS"
25     use_notice: true