File: .travis.yml

package info (click to toggle)
phpunit-dbunit 4.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 732 kB
  • sloc: php: 5,001; xml: 544; makefile: 12
file content (34 lines) | stat: -rw-r--r-- 691 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
language: php

sudo: false

php:
  - 7.1
  - 7.2
  - master

services:
  - mysql

env:
  matrix:
    - DEPENDENCIES="high"
    - DEPENDENCIES="low"
  global:
    - DEFAULT_COMPOSER_FLAGS="--no-interaction --no-ansi --no-progress --no-suggest"

before_install:
  - composer self-update
  - composer clear-cache
  - mysql -e 'CREATE DATABASE IF NOT EXISTS dbunit;'

install:
  - if [[ "$DEPENDENCIES" = 'high' ]]; then travis_retry composer update $DEFAULT_COMPOSER_FLAGS; fi
  - if [[ "$DEPENDENCIES" = 'low' ]]; then travis_retry composer update $DEFAULT_COMPOSER_FLAGS --prefer-lowest; fi

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

notifications:
  email: false