-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.travis.yml
41 lines (34 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
40
41
# Required to run your project under the correct environment.
language: php
# Versions of PHP you want your project run with.
php:
- 7.0
- 7.1
services:
- mysql
# Commands to be run before your environment runs.
before_script:
- cp .env.travis .env
- mysql -e 'create database laravel_bootstrap_blog;'
- composer self-update
- composer install --prefer-source --no-interaction --dev
- php artisan migrate
- php artisan db:seed
- php artisan key:generate
# Commands you want to run that will verify your build.
script: phpunit
# safelist
branches:
only:
- master
# allow_failures: Allow this build to fail under the specified environments.
# fast_finish: If your build fails do not continue trying to build, just stop.
matrix:
allow_failures:
- php: 5.5.9
- php: hhvm
fast_finish: true
# Customize when the notification emails are sent.
notifications:
on_success: never
on_failure: always