mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
Change travis configuration
This commit is contained in:
13
.travis.yml
13
.travis.yml
@@ -1,7 +1,9 @@
|
|||||||
language: php
|
language: php
|
||||||
env:
|
env:
|
||||||
- SETUP_MODE=update
|
- SETUP_MODE=update TEST_SUITE=1
|
||||||
- SETUP_MODE=install
|
- SETUP_MODE=update TEST_SUITE=2
|
||||||
|
- SETUP_MODE=install TEST_SUITE=1
|
||||||
|
- SETUP_MODE=install TEST_SUITE=2
|
||||||
php:
|
php:
|
||||||
- 5.5
|
- 5.5
|
||||||
- 5.6
|
- 5.6
|
||||||
@@ -44,7 +46,12 @@ before_script:
|
|||||||
- "./bin/developer phraseanet:generate-js-fixtures"
|
- "./bin/developer phraseanet:generate-js-fixtures"
|
||||||
script:
|
script:
|
||||||
- "./node_modules/.bin/grunt test"
|
- "./node_modules/.bin/grunt test"
|
||||||
- "./bin/phpunit"
|
- |
|
||||||
|
if [ "$TEST_SUITE" = "1" ]; then
|
||||||
|
"./bin/phpunit" "tests/classes/";
|
||||||
|
else
|
||||||
|
"./bin/phpunit" "tests/Alchemy/";
|
||||||
|
fi
|
||||||
notifications:
|
notifications:
|
||||||
hipchat:
|
hipchat:
|
||||||
rooms:
|
rooms:
|
||||||
|
@@ -18,10 +18,10 @@ main:
|
|||||||
path: '/tmp/db.sqlite'
|
path: '/tmp/db.sqlite'
|
||||||
charset: UTF8
|
charset: UTF8
|
||||||
cache:
|
cache:
|
||||||
type: MemcacheCache
|
type: RedisCache
|
||||||
options:
|
options:
|
||||||
host: localhost
|
host: localhost
|
||||||
port: 11211
|
port: 6379
|
||||||
search-engine:
|
search-engine:
|
||||||
type: elasticsearch
|
type: elasticsearch
|
||||||
# type: phrasea
|
# type: phrasea
|
||||||
|
@@ -18,10 +18,10 @@ main:
|
|||||||
path: '/tmp/db.sqlite'
|
path: '/tmp/db.sqlite'
|
||||||
charset: UTF8
|
charset: UTF8
|
||||||
cache:
|
cache:
|
||||||
type: MemcacheCache
|
type: RedisCache
|
||||||
options:
|
options:
|
||||||
host: localhost
|
host: localhost
|
||||||
port: 11211
|
port: 6379
|
||||||
search-engine:
|
search-engine:
|
||||||
type: elasticsearch
|
type: elasticsearch
|
||||||
# type: phrasea
|
# type: phrasea
|
||||||
|
Reference in New Issue
Block a user