Commit f77a6caa authored by Johan Cwiklinski's avatar Johan Cwiklinski

Improve travis config (add composer, build matrix, and so on)

parent 9e236dc0
language: php
addons:
mariadb: '5.5'
php:
- 5.4
- 5.5
- 5.6
- 7
- nightly
env:
- DB=mysql
before_script:
- php tools/cliinstall.php --db=glpitest --user=root --tests
- composer self-update
- composer install --no-dev
script:
- phpunit --verbose
matrix:
include:
- php: 5.4
addons:
mariadb: 5.5
- php: 5.5
addons:
mariadb: 5.5
- php: 5.6
addons:
mariadb: 5.5
- php: 5.6
addons:
mariadb: 10.0
- php: 5.6
addons:
mariadb: 10.1
- php: 7.0
addons:
mariadb: 10.0
- php: 7.0
addons:
mariadb: 10.1
allow_failures:
- php: nightly
cache:
directories:
- $HOME/.composer/cache
notifications:
irc:
channels:
- "irc.freenode.org#glpi"
on_success: change
on_failure: always
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment