Added CI support.

This commit is contained in:
Junade Ali
2017-08-29 15:59:28 +01:00
parent 0fcc47a1e5
commit 74f85ac5d9
2 changed files with 18 additions and 0 deletions

15
.travis.yml Normal file
View File

@@ -0,0 +1,15 @@
language: php
php:
- 7.0
- 7.1
- nightly
before_install:
- composer self-update
install:
- travis_retry composer install --no-interaction --prefer-source
script:
- composer test

View File

@@ -22,5 +22,8 @@
"psr-4": { "psr-4": {
"Cloudflare\\API\\": "src/" "Cloudflare\\API\\": "src/"
} }
},
"scripts": {
"test": "phpunit"
} }
} }