Skip to content

Commit

Permalink
tests/travis: reorganized config
Browse files Browse the repository at this point in the history
  • Loading branch information
hrach committed Jul 16, 2015
1 parent 33dc680 commit 3e0e751
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,6 @@ matrix:
- php: 5.6
env: dependencies="--prefer-lowest --prefer-stable"

script: ./tests/run.sh -s $NTESTER_FLAGS ./tests/cases

after_failure:
# Print *.actual content & log content
- for i in $(find tests -name \*.actual); do echo "--- $i"; cat $i; echo; echo; done
- for i in $(find tests -name \*.log); do echo "--- $i"; cat $i; echo; echo; done

before_script:
# Install Nette Tester
- composer install --no-interaction --prefer-dist $dependencies
Expand All @@ -41,10 +34,17 @@ before_script:

- mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root mysql

script: ./tests/run.sh -s $NTESTER_FLAGS ./tests/cases

after_script:
- if [ "$TRAVIS_PHP_VERSION" == "5.6" ]; then composer require satooshi/php-coveralls; fi
- if [ "$TRAVIS_PHP_VERSION" == "5.6" ]; then php vendor/bin/coveralls -c tests/.coveralls.yml -v; fi

after_failure:
# Print *.actual content & log content
- for i in $(find tests -name \*.actual); do echo "--- $i"; cat $i; echo; echo; done
- for i in $(find tests -name \*.log); do echo "--- $i"; cat $i; echo; echo; done

sudo: false

cache:
Expand Down

0 comments on commit 3e0e751

Please sign in to comment.