Skip to content

Commit 6f64235

Browse files
committed
Update .travis.yml
1 parent 655a5ea commit 6f64235

File tree

1 file changed

+17
-13
lines changed

1 file changed

+17
-13
lines changed

.travis.yml

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,28 @@
11
language: php
2+
dist: xenial
23

34
php:
4-
- 7.2
5-
- 7.3
5+
- 7.2
6+
- 7.3
67

7-
dist: xenial
8+
env:
9+
- DB=mysql:5.7 ILLUMINATE_VERSION=6.* TESTBENCH_VERSION=4.*
10+
11+
before_script:
12+
- mysql -e "create database IF NOT EXISTS testing;" -uroot;
813

9-
services:
10-
- mysql
14+
before_install:
15+
- travis_retry composer self-update
16+
- composer require "orchestra/testbench:${TESTBENCH_VERSION}" --no-update --dev
17+
- composer require "illuminate/support:${ILLUMINATE_VERSION}" --no-update
18+
19+
install: composer update --prefer-source --no-interaction
1120

1221
sudo: true
1322

1423
cache:
15-
directories:
16-
- $HOME/.composer/cache
17-
18-
before_script:
19-
- travis_retry composer self-update
20-
- travis_retry composer update --no-interaction
21-
- mysql -e "create database IF NOT EXISTS testing;" -uroot;
24+
directories:
25+
- $HOME/.composer/cache
2226

2327
script:
24-
- vendor/bin/phpunit
28+
- vendor/bin/phpunit

0 commit comments

Comments
 (0)