Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test using Travis CI #226

Merged
merged 19 commits into from Apr 17, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
46 changes: 42 additions & 4 deletions .travis.yml
@@ -1,13 +1,48 @@
language: php

services:
- mysql

franzose marked this conversation as resolved.
Show resolved Hide resolved
php:
- 5.4
- 5.5
- 5.6
- hhvm
- 7.0
- 7.1
- 7.2
- 7.3
- 7.4

env:
- LARAVEL_VERSION=5.6.*
franzose marked this conversation as resolved.
Show resolved Hide resolved
- LARAVEL_VERSION=5.7.*
- LARAVEL_VERSION=5.8.*
- LARAVEL_VERSION=5.8.*
- LARAVEL_VERSION=6.*
matrix:
exclude:
- php: 7.2
env: LARAVEL_VERSION=5.6.*
- php: 7.3
env: LARAVEL_VERSION=5.6.*
- php: 7.3
env: LARAVEL_VERSION=5.7.*
- php: 7.3
env: LARAVEL_VERSION=5.8.*
- php: 7.4
env: LARAVEL_VERSION=5.6.*
- php: 7.4
env: LARAVEL_VERSION=5.7.*
- php: 7.4
env: LARAVEL_VERSION=5.8.*
avvertix marked this conversation as resolved.
Show resolved Hide resolved
- php: 7.0
env: LARAVEL_VERSION=6.*
- php: 7.1
env: LARAVEL_VERSION=6.*

sudo: false

before_install:
# ensure that the specific Laravel version is required
- composer require "illuminate/support:${LARAVEL_VERSION}" --no-update

install: travis_retry composer install --no-interaction --prefer-source

before_script:
Expand All @@ -19,3 +54,6 @@ branches:
only:
- master
- feature/laravel-5
avvertix marked this conversation as resolved.
Show resolved Hide resolved
# version tag, e.g. v1.0.0
- /^v\d+\.\d+(\.\d+)?(-\S*)?$/
- /^\d+\.\d+?$/