mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 09:53:15 +00:00
Change travis configuration
This commit is contained in:
13
.travis.yml
13
.travis.yml
@@ -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:
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user