Skip to content
Permalink
Browse files

Fix test suite (#2552)

Co-authored-by: Léo Colombaro <git@colombaro.fr>
  • Loading branch information...
ozh and LeoColomb committed Sep 21, 2019
1 parent 9e36c67 commit 858d6ab9ecbc7ba5bf59348f3d5f0c8240622163
Showing with 7 additions and 6 deletions.
  1. +7 −6 .travis.yml
@@ -1,9 +1,13 @@
sudo: false
language: php

env:
global:
- DB=mysql

services:
- mysql

matrix:
include:
- php: 5.6
@@ -15,12 +19,8 @@ matrix:
fast_finish: true
allow_failures:
- php: nightly
- php: 7.2
- php: 7.3


before_script:
- which phpunit
- phpunit --version
- mysql --version
- git clone git://github.com/YOURLS/YOURLS-unit-tests.git tests
- |
@@ -34,13 +34,14 @@ before_script:
else
echo "Using branch master for Tests"
fi
composer install
cd ..
- 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-travis.php user/config.php

script: phpunit --configuration ./tests/phpunit-travis.xml.dist
script: tests/vendor/bin/phpunit --configuration ./tests/phpunit-travis.xml.dist

notifications:
email: false

0 comments on commit 858d6ab

Please sign in to comment.
You can’t perform that action at this time.