Skip to content

Commit

Permalink
Simplified testing on Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
stekycz committed Mar 5, 2015
1 parent 2be7280 commit aa4a294
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 136 deletions.
16 changes: 6 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
language: php

env:
- NETTE=default
- NETTE=nette-2.0
- NETTE=nette-2.1
- NETTE=nette-2.2

php:
- 5.3.3
- 5.4
Expand All @@ -17,13 +11,15 @@ matrix:
allow_failures:
- php: hhvm

before_script:
- php ./tests/prepare-composer.php
install:
- composer self-update
- composer install --dev --prefer-source --no-interaction
- composer install --prefer-source --no-interaction --optimize-autoloader

before_script:
- ./vendor/bin/parallel-lint -e php,phpt --exclude vendor .

script: ./vendor/bin/tester -c ./tests/php.ini-unix ./tests/CronnerTests/
script:
- ./vendor/bin/tester -s -j 32 -c ./tests/php.ini-unix ./tests/CronnerTests

after_failure:
- 'for i in $(find ./tests -name \*.actual); do echo "--- $i"; cat $i; echo; echo; done'
35 changes: 0 additions & 35 deletions tests/composer-nette-2.0.json

This file was deleted.

35 changes: 0 additions & 35 deletions tests/composer-nette-2.1.json

This file was deleted.

40 changes: 0 additions & 40 deletions tests/composer-nette-2.2.json

This file was deleted.

16 changes: 0 additions & 16 deletions tests/prepare-composer.php

This file was deleted.

0 comments on commit aa4a294

Please sign in to comment.