瀏覽代碼

Update .travis.yml

paladox 9 年之前
父節點
當前提交
54e8339e59
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      .travis.yml

+ 2 - 1
.travis.yml

@@ -31,6 +31,7 @@ before_script:
     - git config --global user.email travis@example.com
 
 script:
-    - ls -d tests/Composer/Test/* | parallel --gnu --keep-order 'echo "Running {} tests"; ./vendor/bin/phpunit -c tests/complete.phpunit.xml --col1
+    - ls -d tests/Composer/Test/* | parallel --gnu --keep-order 'echo "Running {} tests"; ./vendor/bin/phpunit -c tests/complete.phpunit.xml --colors=always {} || (echo -e "\e[41mFAILED\e[0m {}" && $(exit 1));'
+
 git:
   depth: 5