forked from uabookstores/laravel-shibboleth
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
31 lines (31 loc) · 763 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
language: php
matrix:
fast_finish: true
include:
- php: nightly
env:
- PHPUNIT=true
- DB_CONNECTION=mysql
- php: 7.2
env:
- PHPUNIT=true
- DB_CONNECTION=mysql
- php: 7.1
env:
- PHPUNIT=true
- DB_CONNECTION=mysql
- php: 7.0
env:
- PHPUNIT=true
- DB_CONNECTION=mysql
- php: 5.6
env: PHPUNIT=false
before_install:
- if [ $PHPUNIT = false ]; then php -r "require 'tests/utilities/travis.php'; removeRequireDev();"; fi
install:
- composer install
script:
- ./tests/lint.bash
- if [ $PHPUNIT = true ]; then ./vendor/bin/phpunit --debug --coverage-clover=coverage.xml; fi
after_success:
- if [ $PHPUNIT = true ]; then bash <(curl -s https://codecov.io/bash); fi