]> CyberLeo.Net >> Repos - Github/YOURLS.git/blob - .travis.yml
Check PHPUnit version
[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   - 7.0
10   - 7.1
11
12 env:
13   - DB=mysql
14
15 before_script:
16   - git clone git://github.com/YOURLS/YOURLS-unit-tests.git tests
17   - git clone git://github.com/ozh/YOURLS-fr_FR.git user/languages/fr
18   - cp user/languages/fr/fr_FR.* user/languages
19   - mysql -e 'create database IF NOT EXISTS yourls_tests;'
20   - cp tests/yourls-tests-config-travis.php user/config.php
21   - phpunit --version
22
23 script: phpunit --configuration ./tests/phpunit-travis.xml.dist
24
25 after_script: rm user/config.php
26
27 notifications:
28   email: false
29   irc:
30     channels:
31       - "irc.freenode.org#YOURLS"
32     use_notice: true