mirror of
https://github.com/michaelachrisco/ReadOnlyTraitLaravel.git
synced 2024-10-31 21:33:23 -07:00
commit
a04e70f812
2 changed files with 12 additions and 25 deletions
12
.circleci/config.yml
Normal file
12
.circleci/config.yml
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
version: 2
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
docker:
|
||||||
|
- image: circleci/php:7.3-node-browsers
|
||||||
|
working_directory: ~/ReadOnlyTraitLaravel
|
||||||
|
steps: # a set of executable commands
|
||||||
|
- checkout
|
||||||
|
- run: sudo composer self-update
|
||||||
|
- run: composer install -n --prefer-dist
|
||||||
|
- run: ./vendor/bin/kahlan -reporter=verbose
|
25
.travis.yml
25
.travis.yml
|
@ -1,25 +0,0 @@
|
||||||
language: php
|
|
||||||
|
|
||||||
php:
|
|
||||||
- 7.0
|
|
||||||
|
|
||||||
env:
|
|
||||||
global:
|
|
||||||
- setup=basic
|
|
||||||
|
|
||||||
matrix:
|
|
||||||
include:
|
|
||||||
- php: 7.0
|
|
||||||
- php: 7.1
|
|
||||||
- php: 7.2
|
|
||||||
- php: 7.3
|
|
||||||
|
|
||||||
sudo: false
|
|
||||||
|
|
||||||
install:
|
|
||||||
- if [[ $setup = 'basic' ]]; then travis_retry composer install --no-interaction --prefer-source; fi
|
|
||||||
- if [[ $setup = 'stable' ]]; then travis_retry composer update --prefer-source --no-interaction --prefer-stable; fi
|
|
||||||
- if [[ $setup = 'lowest' ]]; then travis_retry composer update --prefer-source --no-interaction --prefer-lowest --prefer-stable; fi
|
|
||||||
|
|
||||||
script:
|
|
||||||
- ./vendor/bin/kahlan -reporter=verbose
|
|
Loading…
Reference in a new issue