File tree Expand file tree Collapse file tree 3 files changed +81
-1
lines changed Expand file tree Collapse file tree 3 files changed +81
-1
lines changed Original file line number Diff line number Diff line change
1
+ # PHP CircleCI 2.0 configuration file
2
+ #
3
+ # Check https://circleci.com/docs/2.0/language-php/ for more details
4
+ #
5
+ version : 2
6
+ jobs :
7
+ build :
8
+ docker :
9
+ # Specify the version you desire here
10
+ - image : circleci/php:7.1-node-browsers
11
+
12
+ # Specify service dependencies here if necessary
13
+ # CircleCI maintains a library of pre-built images
14
+ # documented at https://circleci.com/docs/2.0/circleci-images/
15
+ # Using the RAM variation mitigates I/O contention
16
+ # for database intensive operations.
17
+ # - image: circleci/mysql:5.7-ram
18
+ #
19
+ # - image: redis:2.8.19
20
+
21
+ steps :
22
+ - checkout
23
+
24
+ - run : sudo apt update # PHP CircleCI 2.0 Configuration File# PHP CircleCI 2.0 Configuration File sudo apt install zlib1g-dev libsqlite3-dev
25
+ - run : sudo docker-php-ext-install zip
26
+
27
+ # Download and cache dependencies
28
+ - restore_cache :
29
+ keys :
30
+ # "composer.lock" can be used if it is committed to the repo
31
+ - v1-dependencies-{{ checksum "composer.json" }}
32
+ # fallback to using the latest cache if no exact match is found
33
+ - v1-dependencies-
34
+
35
+ - run : composer install -n --prefer-dist
36
+
37
+ - save_cache :
38
+ key : v1-dependencies-{{ checksum "composer.json" }}
39
+ paths :
40
+ - ./vendor
41
+
42
+ # run tests with phpunit or codecept
43
+ - run : ./vendor/bin/phpunit
Original file line number Diff line number Diff line change
1
+ sudo : required
2
+
3
+ language : php
4
+
5
+ php :
6
+ - 7.1
7
+ - 7.2
8
+ - 7.3
9
+
10
+ before_install :
11
+ - sudo apt-get update
12
+ - travis_retry composer self-update
13
+
14
+ install :
15
+ - travis_retry composer update --prefer-source
16
+ script :
17
+ - vendor/bin/phpunit
18
+
19
+ branches :
20
+ only :
21
+ - master
Original file line number Diff line number Diff line change 1
1
# Eloquent-Sluggable
2
-
2
+ <p align =" center " >
3
+ <a href="https://travis-ci.org/laraeast/laravel-sluggable">
4
+ <img src="https://travis-ci.org/laraeast/laravel-sluggable.svg?branch=master" alt="Travis Build Status">
5
+ </a>
6
+ <a href="https://circleci.com/gh/laraeast/laravel-sluggable">
7
+ <img src="https://circleci.com/gh/laraeast/laravel-sluggable.png?style=shield" alt="Circleci Build Status">
8
+ </a>
9
+ <a href="https://packagist.org/packages/laraeast/laravel-sluggable">
10
+ <img src="https://poser.pugx.org/laraeast/laravel-sluggable/d/total.svg" alt="Total Downloads">
11
+ </a>
12
+ <a href="https://packagist.org/packages/laraeast/laravel-sluggable">
13
+ <img src="https://poser.pugx.org/laraeast/laravel-sluggable/v/stable.svg" alt="Latest Stable Version">
14
+ </a>
15
+ <a href="https://packagist.org/packages/laraeast/laravel-sluggable">
16
+ <img src="https://poser.pugx.org/laraeast/laravel-sluggable/license.svg" alt="License">
17
+ </a>
18
+ </p >
3
19
Easy creation of slugs for your Eloquent models in Laravel.
4
20
5
21
## Background: What is a slug?
You can’t perform that action at this time.
0 commit comments