From 9cae4909f1a8363010b95b886b5430dc1750814b Mon Sep 17 00:00:00 2001 From: Percy Mamedy Date: Sun, 22 May 2016 12:54:20 +0400 Subject: [PATCH] Initiating First Build --- .travis.yml | 14 ++++++++++++++ README.md | 3 ++- composer.json | 4 ++-- phpunit.xml | 17 +++++++++++++++++ 4 files changed, 35 insertions(+), 3 deletions(-) create mode 100644 .travis.yml create mode 100644 phpunit.xml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..22af9e1 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,14 @@ +language: php + +php: + - '5.5' + - '5.6' + - '7.0' + +before_script: + - composer self-update + +install: + - composer install --prefer-source --no-interaction --dev + +script: vendor/bin/phpunit diff --git a/README.md b/README.md index 24f8a04..589ac45 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # Laravel 5 IBM Watson Translate +[![Build Status](https://travis-ci.org/findbrok/laravel-watson-translate.svg?branch=master)](https://travis-ci.org/findbrok/laravel-watson-translate) [![Latest Stable Version](https://poser.pugx.org/findbrok/laravel-watson-translate/v/stable)](https://packagist.org/packages/findbrok/laravel-watson-translate) [![Total Downloads](https://poser.pugx.org/findbrok/laravel-watson-translate/downloads)](https://packagist.org/packages/findbrok/laravel-watson-translate) [![Latest Unstable Version](https://poser.pugx.org/findbrok/laravel-watson-translate/v/unstable)](https://packagist.org/packages/findbrok/laravel-watson-translate) @@ -53,4 +54,4 @@ Read the [Docs](https://github.com/findbrok/laravel-watson-translate/wiki) ## TODO - [ ] Create Translation Model -- [ ] Delete Translation Model \ No newline at end of file +- [ ] Delete Translation Model diff --git a/composer.json b/composer.json index 9db9bab..b44ee70 100644 --- a/composer.json +++ b/composer.json @@ -10,8 +10,8 @@ } ], "require": { - "php": ">=5.4.0", - "illuminate/support": "~5.0|~5.1|~5.2", + "php": ">=5.5.0", + "laravel/framework": "~5.0|~5.1|~5.2", "guzzlehttp/guzzle": "~5.3|~6.0" }, "require-dev": { diff --git a/phpunit.xml b/phpunit.xml new file mode 100644 index 0000000..06ab212 --- /dev/null +++ b/phpunit.xml @@ -0,0 +1,17 @@ + + + + + ./tests/ + + +