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