Skip to content
Extraits de code Groupes Projets
travis.sh 258 octets
Newer Older
  • Learn to ignore specific revisions
  • Fabian Becker's avatar
    Fabian Becker a validé
    #!/bin/bash
    
    
    if [ -n "$TEST_SUITE" ]
    
    Fabian Becker's avatar
    Fabian Becker a validé
    then
    
    Fabian Becker's avatar
    Fabian Becker a validé
    	phpunit --configuration phpunit.xml --testsuite $TEST_SUITE --colors
    
    Fabian Becker's avatar
    Fabian Becker a validé
    else
    
      if [ -n "$TEST_DIR" ]
      then
        phpunit --colors $TEST_DIR
      else
    	  phpunit --configuration phpunit.xml --coverage-text --colors
      fi
    
    Fabian Becker's avatar
    Fabian Becker a validé
    fi