]> CyberLeo.Net >> Repos - Github/YOURLS.git/blob - .travis.yml
Introduce Travis
[Github/YOURLS.git] / .travis.yml
1 language: php
2 php:
3   - 5.3
4   - 5.4
5   - 5.5
6
7 env:
8   - DB=mysql
9
10 before_script:
11   - git clone git://github.com/YOURLS/YOURLS-unit-tests.git -b travis-ci tests
12   - mysql -e 'create database IF NOT EXISTS yourls_tests;'
13   - cp tests/yourls-tests-config.php user/config.php
14
15 script: phpunit --coverage-text --configuration ./phpunit.xml.dist
16
17 after_script: rm user/config.php
18
19 notifications:
20   email: false
21   irc:
22     channels:
23       - "irc.freenode.org#YOURLS"
24     use_notice: true