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