forked from composer/packagist
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
34 lines (25 loc) · 786 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
language: php
sudo: false
env:
global:
secure: E9/Y2vJv4GGGdjRZUJuL31q79C2dbgL1yNcclE4MIPXrPWe5f0LuQMwCGbaGN+b6u/VX6YQL6OcFt+VsxL5e439EoYMMY+MmUeDnq5jRzPOVZqgXlNZAxh4KzoNh3Q2nXp6uSr+yaNCFedcx1Os7n5CoLwqji+TATsTPZ1EEDqI=
cache:
directories:
- $HOME/.composer/cache
services:
- redis-server
php:
- 7.0
matrix:
fast_finish: true
before_script:
- cp app/config/parameters.yml.dist app/config/parameters.yml
- 'echo " github.client_id: $GH_CLIENT_ID" >> app/config/parameters.yml'
- 'echo " github.client_secret: $GH_CLIENT_SECRET" >> app/config/parameters.yml'
- composer install
- app/console doctrine:database:create --env=test -n
- app/console doctrine:schema:create --env=test -n
script:
- vendor/bin/phpunit
git:
depth: 5