Skip to content

Commit 1b4310f

Browse files
janpechamibk
authored andcommitted
Add .travis.yml
1 parent 3722557 commit 1b4310f

1 file changed

Lines changed: 27 additions & 0 deletions

File tree

.travis.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
language: php
2+
php:
3+
- 5.3
4+
- 5.4
5+
- 5.5
6+
- 5.6
7+
- 7.0
8+
- 7.1
9+
10+
script:
11+
- vendor/bin/tester tests -s -p php
12+
- php temp/code-checker/src/code-checker.php
13+
14+
after_failure:
15+
# Print *.actual content
16+
- for i in $(find tests -name \*.actual); do echo "--- $i"; cat $i; echo; echo; done
17+
18+
before_script:
19+
# Install Nette Tester
20+
- travis_retry composer install --no-interaction --prefer-dist
21+
- travis_retry composer create-project nette/code-checker temp/code-checker ~2.5.0
22+
23+
sudo: false
24+
25+
cache:
26+
directories:
27+
- $HOME/.composer/cache

0 commit comments

Comments
 (0)