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