Skip to content

Commit

Permalink
Added .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
janpecha committed Jan 16, 2017
1 parent fc1deb2 commit 2933ee5
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@

language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1

script:
- vendor/bin/tester tests -s -p php
- php temp/code-checker/src/code-checker.php

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

before_script:
# Install Nette Tester
- travis_retry composer install --no-interaction --prefer-dist
- travis_retry composer create-project nette/code-checker temp/code-checker ~2.5.0

sudo: false

cache:
directories:
- $HOME/.composer/cache

0 comments on commit 2933ee5

Please sign in to comment.