-
Notifications
You must be signed in to change notification settings - Fork 5
/
.travis.yml
43 lines (36 loc) · 952 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
35
36
37
38
39
40
41
42
43
language: php
php:
- 5.6
- 7.0
- hhvm
- hhvm-nightly
matrix:
allow_failures:
- php: 7.0
- php: hhvm-nightly
sudo: false
cache:
directories:
- vendor
- $HOME/.composer/cache
install:
- mkdir -p /home/travis/.phpenv/versions/$(phpenv version-name)/etc/conf.d
- phpenv config-add php.ini
- composer config --global github-oauth.github.com 57bc356159615a3bdadaf926cd7f30bf9b48ffb6
- travis_retry composer self-update && composer --version
- export PATH="$HOME/.composer/vendor/bin:$PATH"
- travis_retry composer install --dev --no-interaction
before_script:
- chmod -R 777 app/cache
- chmod -R 777 app/logs
- chmod +x tools/console.php
- php tools/console.php config:init
- php tools/console.php db:init
- php tools/console.php db:index:rebuild
- php tools/console.php cert:generate --default
after_script:
- php vendor/bin/coveralls -v
services:
- mongodb
- redis-server
- elasticsearch