Skip to content

Commit 7956df8

Browse files
author
Jamie Hannaford
committed
use travis
1 parent 96865b0 commit 7956df8

File tree

2 files changed

+30
-1
lines changed

2 files changed

+30
-1
lines changed

.travis.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
language: php
2+
php:
3+
- '5.6'
4+
- '7.0'
5+
- hhvm
6+
- nightly
7+
8+
sudo: false
9+
10+
matrix:
11+
allow_failures:
12+
- php: 7.0
13+
- php: hhvm
14+
fast_finish: true
15+
16+
before_script:
17+
- composer install
18+
- vendor/bin/parallel-lint --exclude vendor .
19+
- vendor/bin/php-cs-fixer fix --dry-run --diff --level psr2 .
20+
21+
after_script:
22+
- php vendor/bin/coveralls -v
23+
24+
notifications:
25+
email:
26+

composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@
3333
"phpunit/phpunit": "~4.0",
3434
"phpspec/prophecy-phpunit": "~1.0",
3535
"sami/sami": "dev-master",
36-
"psr/log": "~1.0"
36+
"psr/log": "~1.0",
37+
"satooshi/php-coveralls": "~1.0",
38+
"jakub-onderka/php-parallel-lint": "0.*",
39+
"fabpot/php-cs-fixer": "~1.0"
3740
}
3841
}

0 commit comments

Comments
 (0)