Change travis configuration

This commit is contained in:
Benoît Burnichon
2015-06-12 12:25:04 +02:00
parent 43d93eef36
commit 627475799f
3 changed files with 48 additions and 41 deletions

View File

@@ -1,7 +1,9 @@
language: php
env:
- SETUP_MODE=update
- SETUP_MODE=install
- SETUP_MODE=update TEST_SUITE=1
- SETUP_MODE=update TEST_SUITE=2
- SETUP_MODE=install TEST_SUITE=1
- SETUP_MODE=install TEST_SUITE=2
php:
- 5.5
- 5.6
@@ -44,7 +46,12 @@ before_script:
- "./bin/developer phraseanet:generate-js-fixtures"
script:
- "./node_modules/.bin/grunt test"
- "./bin/phpunit"
- |
if [ "$TEST_SUITE" = "1" ]; then
"./bin/phpunit" "tests/classes/";
else
"./bin/phpunit" "tests/Alchemy/";
fi
notifications:
hipchat:
rooms:

View File

@@ -18,10 +18,10 @@ main:
path: '/tmp/db.sqlite'
charset: UTF8
cache:
type: MemcacheCache
type: RedisCache
options:
host: localhost
port: 11211
port: 6379
search-engine:
type: elasticsearch
# type: phrasea

View File

@@ -18,10 +18,10 @@ main:
path: '/tmp/db.sqlite'
charset: UTF8
cache:
type: MemcacheCache
type: RedisCache
options:
host: localhost
port: 11211
port: 6379
search-engine:
type: elasticsearch
# type: phrasea