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