-
Notifications
You must be signed in to change notification settings - Fork 40
Expand file tree
/
Copy path.travis.yml
More file actions
34 lines (27 loc) · 832 Bytes
/
Copy path.travis.yml
File metadata and controls
34 lines (27 loc) · 832 Bytes
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
sudo: false
language: php
cache:
directories:
- $HOME/.composer/cache/files
php:
- 7.1
matrix:
fast_finish: true
addons:
postgresql: "9.3"
services:
- redis
before_script:
- psql -c "create user logincidadao with password '';" -U postgres
- psql -c "create database logincidadao with owner logincidadao" -U postgres
- cp app/config/parameters.yml.dist app/config/parameters.yml
- composer self-update
- composer install --prefer-dist
- chmod -R 777 app/cache app/logs web/uploads
- echo y | php app/console doctrine:schema:update --force
- echo y | php app/console doctrine:schema:update --em=logs --force
- echo y | php app/console lc:database:populate batch/
script:
# Do NOT enable test coverage here since it takes way too much time
# We'll use Scrutinizer for that.
- composer test