forked from pixelpeter/laravel5-isocodes-validation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
37 lines (31 loc) · 825 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
34
35
36
37
language: php
php:
- 5.6
- 7.0
matrix:
allow_failures:
- php: 7.0
include:
- php: 5.6
env: dependencies=lowest
- php: 7
env: dependencies=lowest
- php: 5.6
env: dependencies=highest
- php: 7
env: dependencies=highest
before_script:
- composer self-update -q
- if [ -n "$GITHUB_TOKEN" ]; then composer config github-oauth.github.com ${GITHUB_TOKEN}; fi;
- if [ -z "$dependencies" ]; then composer install; fi;
- if [ "$dependencies" = "lowest" ]; then composer update --prefer-lowest -n; fi;
- if [ "$dependencies" = "highest" ]; then composer update -n; fi;
script:
- mkdir -p build/logs
- vendor/bin/phpunit --coverage-clover build/logs/clover.xml
branches:
only:
- master
- stable
after_success:
- travis_retry php vendor/bin/coveralls -v