Skip to content

Commit 58b475e

Browse files
committed
[Build] Add travis file
1 parent 4e09ba8 commit 58b475e

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
.editorconfig export-ignore
33
.gitattributes export-ignore
44
.gitignore export-ignore
5+
.travis.yml export-ignore
56
phpunit.xml export-ignore

.travis.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
language: php
2+
sudo: false
3+
4+
matrix:
5+
include:
6+
- php: "7.4"
7+
env:
8+
- LARAVEL_VERSION=^8.0
9+
- php: "8.0snapshot"
10+
env:
11+
- LARAVEL_VERSION=^8.0
12+
13+
install:
14+
- composer require "laravel/framework:${LARAVEL_VERSION}" --no-update -n
15+
- travis_retry composer install --no-suggest --prefer-dist -n -o
16+
17+
script:
18+
- vendor/bin/phpunit

0 commit comments

Comments
 (0)