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