Skip to content

Commit 005daff

Browse files
committed
Add tracis.
1 parent 7e7e98a commit 005daff

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

.travis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
language: php
2+
php:
3+
- '7.0'
4+
- '7.1'
5+
- '7.2'
6+
before_script: composer install
7+
script: vendor/bin/phpunit

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,6 @@
99
"identification",
1010
"validation"
1111
],
12-
"require": {
13-
"php": ">=7.0"
14-
},
15-
"require-dev": {
16-
"phpunit/phpunit": "^6.5"
17-
},
1812
"license": "MIT",
1913
"authors": [
2014
{
@@ -36,5 +30,11 @@
3630
"psr-4": {
3731
"Nekman\\LuhnAlgorithm\\Test\\": "tests"
3832
}
33+
},
34+
"require": {
35+
"php": "^7.0"
36+
},
37+
"require-dev": {
38+
"phpunit/phpunit": "^6.5"
3939
}
4040
}

0 commit comments

Comments
 (0)