-
Notifications
You must be signed in to change notification settings - Fork 4
/
.travis.yml
33 lines (27 loc) · 935 Bytes
/
.travis.yml
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
language: php
notifications:
email: [email protected]
matrix:
fast_finish: true
include:
- php: 7.1
env: PHPUNIT_VERSION=6.*
- php: 7.0
env: PHPUNIT_VERSION=6.*
- php: 5.6
env: PHPUNIT_VERSION=5.*
dist: trusty
group: edge
before_install:
- sudo apt-get update > /dev/null
- rm composer.lock -f
- if [ "$TRAVIS_PHP_VERSION" = "hhvm" ]; then echo 'xdebug.enable = on' >> /etc/hhvm/php.ini; fi
- if [ "$PHPUNIT_VERSION" != "" ]; then composer remove phpunit/phpunit --dev; fi;
- if [ "$PHPUNIT_VERSION" != "" ]; then composer require "phpunit/phpunit:${PHPUNIT_VERSION}" --dev --ignore-platform-reqs; fi;
install:
- sudo apt-get install -y --force-yes php5-gd
- composer update --prefer-dist --no-interaction --no-scripts --no-progress
script:
- composer run-script test
after_success:
- bash <(curl -s https://codecov.io/bash)