forked from mikebronner/laravel-model-caching
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
39 lines (31 loc) · 938 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
38
39
language: php
github_token: $GITHUB_TOKEN
services:
- postgresql
- redis-server
addons:
postgresql: "9.6"
env:
global:
- REDIS_HOST=127.0.0.1
- DB_HOST=127.0.0.1
matrix:
include:
- php: 7.1.3
- php: 7.2
- php: 7.3
before_script:
- travis_retry composer self-update
- travis_retry composer config --global github-protocols https
- travis_retry composer install --no-interaction --prefer-source
- psql -c "CREATE DATABASE testing;" -U postgres
- psql -c "CREATE USER homestead WITH PASSWORD 'secret';" -U postgres
after_success:
- travis_retry php vendor/bin/php-coveralls -v
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/30886f28c25b1e31088f
on_success: change # options: [always|never|change] default: always
on_failure: always # options: [always|never|change] default: always
on_start: never # options: [always|never|change] default: always