forked from symfony-cmf/cmf-sandbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
33 lines (26 loc) · 790 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
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
sudo: false
cache:
directories:
- $HOME/.composer/cache
env:
- TRANSPORT=jackrabbit
- TRANSPORT=doctrine_dbal
before_script:
- composer self-update
- if [ "$TRAVIS_PHP_VERSION" != "hhvm" ]; then echo "memory_limit = 1024M" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini; fi
- cp app/config/phpcr_${TRANSPORT}.yml.dist app/config/phpcr.yml
- cp app/config/parameters.yml.dist app/config/parameters.yml
- ./app/tests/travis_${TRANSPORT}.sh
- app/console doctrine:phpcr:workspace:create sandbox_test -e=test
- app/console doctrine:phpcr:repository:init -e=test
script: phpunit -c app
notifications:
irc: "irc.freenode.org#symfony-cmf"
email: "[email protected]"