]> CyberLeo.Net >> Repos - Github/YOURLS.git/blob - .travis.yml
Revert "Leo doesn't like PHP 5.2 :^Þ"
[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 git://github.com/YOURLS/YOURLS-unit-tests.git tests
12   - git clone git://github.com/ozh/YOURLS-fr_FR.git user/languages/fr
13   - cp user/languages/fr/fr_FR.* user/languages
14   - mysql -e 'create database IF NOT EXISTS yourls_tests;'
15   - cp tests/yourls-tests-config-travis.php user/config.php
16
17 script: phpunit --configuration ./tests/phpunit-travis.xml.dist
18
19 after_script: rm user/config.php
20
21 notifications:
22   email: false
23   irc:
24     channels:
25       - "irc.freenode.org#YOURLS"
26     use_notice: true