forked from academic/vipa
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
48 lines (39 loc) · 1.2 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
language: php
env:
- SYMFONY_VERSION="2.8.*" DB="postgres" SYMFONY_ENV="test"
php:
- 7.0
addons:
apt_packages:
- parallel
services:
- mysql
- postgresql
- elasticsearch
- memcached
sudo: false
before_install:
- npm install -g bower
before_script:
- phpenv config-add travis.php.ini
- phpenv config-rm xdebug.ini
- cp app/config/parameters.yml.dist app/config/parameters.yml
- composer install --no-interaction --prefer-dist
- bower install --force --silent
- php app/console assetic:dump --env=test
- chmod -R 777 app/cache app/logs
- php app/console ojs:install --no-interaction --env=test
- php app/console ojs:install:samples --env=test
- php app/console h4cc_alice_fixtures:load:sets --env=test
- php app/console ojs:normalize:translatable:objects --env=test
- php app/console ojs:mail:events:sync --env=test
- php app/console ojs:mail:events:sync --sync-desc --env=test
- php app/console ojs:normalize:journal:article:types --env=test
- php app/console fos:elastica:populate --env=test
- composer show
script:
- ./etc/bin/parallel_phpunit.sh
notifications:
slack: bulutyazilim:8GtvUiq3935dZRc1SObHJVcR#ojs-log
email: