mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-12 20:43:25 +00:00
update travis and circleci conf
This commit is contained in:
@@ -59,6 +59,7 @@ before_script:
|
|||||||
- "./bin/developer phraseanet:generate-js-fixtures"
|
- "./bin/developer phraseanet:generate-js-fixtures"
|
||||||
|
|
||||||
script:
|
script:
|
||||||
|
- "./node_modules/.bin/gulp test"
|
||||||
- |
|
- |
|
||||||
echo "$TEST_SUITE";
|
echo "$TEST_SUITE";
|
||||||
case "$TEST_SUITE" in
|
case "$TEST_SUITE" in
|
||||||
|
@@ -9,7 +9,7 @@ machine:
|
|||||||
php:
|
php:
|
||||||
version: 5.5.21
|
version: 5.5.21
|
||||||
node:
|
node:
|
||||||
version: 0.12.0
|
version: stable
|
||||||
services:
|
services:
|
||||||
- memcached
|
- memcached
|
||||||
- redis
|
- redis
|
||||||
@@ -46,5 +46,5 @@ database:
|
|||||||
|
|
||||||
test:
|
test:
|
||||||
override:
|
override:
|
||||||
- case $CIRCLE_NODE_INDEX in 0) EXIT=0; php -d memory_limit=-1 bin/phpunit --log-junit $CIRCLE_TEST_REPORTS/phpunit/junit-unit.xml --exclude-group legacy || EXIT=$?; ./node_modules/.bin/gulp test || EXIT=$?; php -d memory_limit=-1 bin/phpunit --log-junit $CIRCLE_TEST_REPORTS/phpunit/junit-legacy-no-web.xml --group legacy --exclude-group web || EXIT=$?; exit $EXIT;; 1) php -d memory_limit=-1 bin/phpunit --log-junit $CIRCLE_TEST_REPORTS/phpunit/junit-legacy-web.xml --group web ;; esac:
|
- case $CIRCLE_NODE_INDEX in 0) EXIT=0; php -d memory_limit=-1 bin/phpunit --log-junit $CIRCLE_TEST_REPORTS/phpunit/junit-unit.xml --exclude-group legacy || EXIT=$?; php -d memory_limit=-1 bin/phpunit --log-junit $CIRCLE_TEST_REPORTS/phpunit/junit-legacy-no-web.xml --group legacy --exclude-group web || EXIT=$?; exit $EXIT;; 1) php -d memory_limit=-1 bin/phpunit --log-junit $CIRCLE_TEST_REPORTS/phpunit/junit-legacy-web.xml --group web ;; esac:
|
||||||
parallel: true
|
parallel: true
|
||||||
|
Reference in New Issue
Block a user