Skip to content

Commit

Permalink
Fix Travis script
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoColomb committed Sep 2, 2013
1 parent adaaaa6 commit 1686b73
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ env:
- DB=mysql

before_script:
- git clone --branch=travis-ci git://github.com/YOURLS/YOURLS-unit-tests.git tests
- git clone git://github.com/YOURLS/YOURLS-unit-tests.git tests
- git clone git://github.com/ozh/YOURLS-fr_FR.git user/languages/fr
- cp user/languages/fr/fr_FR.* user/languages
- mysql -e 'create database IF NOT EXISTS yourls_tests;'
- cp tests/yourls-tests-config.php user/config.php
- cp tests/yourls-tests-config-travis.php user/config.php

script: phpunit --coverage-text --configuration ./tests/phpunit.xml.dist
script: phpunit --coverage-text --configuration ./tests/phpunit-travis.xml.dist

after_script: rm user/config.php

Expand Down

0 comments on commit 1686b73

Please sign in to comment.