]> git.agnieray.net Git - galette.git/commitdiff
Prevent mutliple executions at the same time of atoum
authorJohan Cwiklinski <johan@x-tnd.be>
Sun, 15 Dec 2013 21:02:14 +0000 (22:02 +0100)
committerJohan Cwiklinski <johan@x-tnd.be>
Sun, 15 Dec 2013 21:02:14 +0000 (22:02 +0100)
.travis.yml
bin/tests

index 307cc6e8895442aced9c54493321a91c7e667b71..1fc1c6b74c34f889042b03ab50544c3cfca83fca 100644 (file)
@@ -9,7 +9,7 @@ before_script:
   - sh -c "if [ '$DB' = 'sqlite' ]; then sqlite3 tests/galette.test.sqlite < galette/install/sql/sqlite.sql; fi"
   - sh -c "cp tests/config/$DB-config.inc.php galette/config/config.inc.php"
   - wget http://downloads.atoum.org/nightly/mageekguy.atoum.phar
-script: php mageekguy.atoum.phar -bf tests/TestsBootstrap.php -d tests/Galette/
+script: php mageekguy.atoum.phar -mcn 1 -bf tests/TestsBootstrap.php -d tests/Galette/
 language: php
 php:
   - 5.3
index c0918fb67379a546173712b184e80a035fd3937d..e09b6268c7dec4f5fc338aa655d02ae7494e802a 100755 (executable)
--- a/bin/tests
+++ b/bin/tests
@@ -1,5 +1,5 @@
 #!/bin/bash
 tests_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )/../tests" && pwd )"
 pushd $tests_dir > /dev/null
-atoum -l -bf TestsBootstrap.php -c coverage.php -d Galette
+atoum -mcn 1 -l -bf TestsBootstrap.php -c coverage.php -d Galette
 popd > /dev/null