-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (38 loc) · 1.72 KB
/
.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
42
43
44
45
46
47
48
# Required to run your project under the correct environment.
language: php
# Versions of PHP you want your project run with.
php:
- 7.1
before_install:
- pecl install mongodb
- echo "extension = mongodb.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
# start mongodb as service
services:
- mongodb
# Commands to be run before your environment runs.
before_script:
- cp .env.travis source/.env
- cd source
- composer self-update
- composer install
- php artisan key:generate
- php artisan db:seed
addons:
code_climate:
repo_token:
secure: "PkqQTnMvxenEdWuB2FFnyJ26AkS9fJJj7dzKVzwNyB4rOA8Ez1ibPlg3ckYDC1mvZxIHW4YEOZH7c8/JsQEoWRmFbiwVsqv5YFDbAlc4d9VRiSQcYarIYotbmXDydzAB3PDJWR8OiWfzlrwjymWKUW5JOqa6pd+nZhaH0R0jXfRExXQ0tdnyvcLoZMIyNmTkNZwOO5kEqxs38jezuLL3jNTQK5TzvFzERJv9uxwZdsGxJa02v+9O7Nux57g+YsEvtULxr/n3yiNUs9Rscpm8moZzaK/qcMe+WKhAD4SAO2N/hVO4oyjpmEczvUxBH4PpG9Km4ADfnS5TP0grT5qXBVSWbAMA61aQEGdCN2vDqGHo0t6PUHvopgKdhoOsEWKfPwXRmFu3/7GLqgikDXB8ix0RD3MVdiNvatiF0QshWs97LwU7XnjXNPeq3whXpCMbkDoIhkpihx8bNiwE/E9nmONYBKy4UsG7BvZFlkiLCj6bWZlZbcqYm3dQbO+T2GqWtQAcjK48C22W3A/2Yr4fDfX7zuDyo8T21dPrJAC5NbLqJ8jzd0o2tHtjt/kcocqAgjADTgd9gy1kzlFNZZbNeKP788roMKslF5imb8wD8Vj4/BTMWfZSMiCXCzmGivHdTXKtdnLgBnayZc2tN1dx/Yg36uUkPRj25IHsev504u0="
# Commands you want to run that will verify your build.
script: ./vendor/bin/phpunit tests/
after_script:
- vendor/bin/test-reporter
# 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.6
- php: hhvm
fast_finish: true
# Customize when the notification emails are sent.
notifications:
on_success: never
on_failure: always