mirror of
https://github.com/nullthoughts/laravel-data-sync.git
synced 2026-02-24 12:56:40 +00:00
Travis CI Configuration and README badge
This commit adds travis-ci.com configuration and the related build status badge to the README header.
This commit is contained in:
30
.travis.yml
Normal file
30
.travis.yml
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
language: php
|
||||||
|
|
||||||
|
env:
|
||||||
|
global:
|
||||||
|
- setup=stable
|
||||||
|
|
||||||
|
matrix:
|
||||||
|
fast_finish: true
|
||||||
|
include:
|
||||||
|
- php: 7.1
|
||||||
|
- php: 7.1
|
||||||
|
env: setup=lowest
|
||||||
|
- php: 7.2
|
||||||
|
- php: 7.2
|
||||||
|
env: setup=lowest
|
||||||
|
- php: 7.3
|
||||||
|
- php: 7.3
|
||||||
|
env: setup=lowest
|
||||||
|
|
||||||
|
sudo: false
|
||||||
|
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- $HOME/.composer/cache
|
||||||
|
|
||||||
|
install:
|
||||||
|
- if [[ $setup = 'stable' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-stable --no-suggest; fi
|
||||||
|
- if [[ $setup = 'lowest' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-lowest --prefer-stable --no-suggest; fi
|
||||||
|
|
||||||
|
script: vendor/bin/phpunit
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "distinctm/laravel-data-sync",
|
"name": "distinctm/laravel-data-sync",
|
||||||
"description": "Laravel utility to keep records synced between enviroments through source control",
|
"description": "Laravel utility to keep records synced between environments through source control",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
<p align="center">
|
<p align="center">
|
||||||
<a href="https://packagist.org/packages/distinctm/laravel-data-sync" target="_blank"><img src="https://poser.pugx.org/distinctm/laravel-data-sync/d/total.svg" alt="Total Downloads"></a>
|
<a href="https://packagist.org/packages/distinctm/laravel-data-sync" target="_blank"><img src="https://poser.pugx.org/distinctm/laravel-data-sync/d/total.svg" alt="Total Downloads"></a>
|
||||||
<a href="https://packagist.org/packages/distinctm/laravel-data-sync" target="_blank"><img src="https://poser.pugx.org/distinctm/laravel-data-sync/v/stable.svg" alt="Latest Stable Version"></a>
|
<a href="https://packagist.org/packages/distinctm/laravel-data-sync" target="_blank"><img src="https://poser.pugx.org/distinctm/laravel-data-sync/v/stable.svg" alt="Latest Stable Version"></a>
|
||||||
|
<a href="https://travis-ci.com/distinctm/laravel-data-sync"><img src="https://www.travis-ci.com/distinctm/laravel-data-sync.svg?branch=master" alt="Travis CI Build Status: Master"></a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
# Laravel Data Sync
|
# Laravel Data Sync
|
||||||
|
|||||||
Reference in New Issue
Block a user