]> CyberLeo.Net >> Repos - Github/YOURLS.git/blob - .travis.yml
Shorten travis config file
[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   fast_finish: true
15   allow_failures:
16   - php: hhvm
17
18 env:
19   - DB=mysql
20
21 before_script:
22   - which phpunit  
23   - phpunit --version
24   - git clone git://github.com/YOURLS/YOURLS-unit-tests.git tests
25   - git clone git://github.com/ozh/YOURLS-fr_FR.git user/languages/fr
26   - cp user/languages/fr/fr_FR.* user/languages
27   - mysql -e 'create database IF NOT EXISTS yourls_tests;'
28   - cp tests/yourls-tests-config-travis.php user/config.php
29
30 script: phpunit --configuration ./tests/phpunit-travis.xml.dist
31
32 notifications:
33   email: false