forked from academic/vipa
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
46 lines (37 loc) · 1.32 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
language: php
env:
- SYMFONY_VERSION="2.8.*" DB="postgres" SYMFONY_ENV="test"
php:
- 7.1
addons:
apt_packages:
- parallel
services:
- mysql
- postgresql
- memcached
sudo: true
before_install:
- curl -O https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-1.7.4.deb && sudo dpkg -i --force-confnew elasticsearch-1.7.4.deb && sudo service elasticsearch restart
- 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 vipa:install --no-interaction --env=test
- php app/console vipa:install:samples --env=test
- php app/console h4cc_alice_fixtures:load:sets --env=test
- php app/console vipa:normalize:translatable:objects --env=test
- php app/console vipa:mail:events:sync --env=test
- php app/console vipa:mail:events:sync --sync-desc --env=test
- php app/console vipa:normalize:journal:article:types --env=test
- php app/console fos:elastica:populate --env=test
- composer show
script:
- ./etc/bin/parallel_phpunit.sh
notifications:
slack: ideafield:8GtvUiq3935dZRc1SObHJVcR#vipa-log