forked from folkloreinc/laravel-graphql
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (31 loc) · 1.11 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
language: php
cache:
directories:
- $COMPOSER_CACHE_DIR
- $HOME/.composer/cache
- vendor
php:
- 5.5
- 5.6
- 7.0
- 7.1
env:
- TESTBENCH_VERSION=3.1.* DATABASE_VERSION=3.1.* ILLUMINATE_VERSION=5.1.*
- TESTBENCH_VERSION=3.2.* DATABASE_VERSION=3.2.* ILLUMINATE_VERSION=5.2.*
- TESTBENCH_VERSION=3.3.* DATABASE_VERSION=3.3.* ILLUMINATE_VERSION=5.3.*
- TESTBENCH_VERSION=3.4.* DATABASE_VERSION=3.4.*@dev ILLUMINATE_VERSION=5.4.*
matrix:
exclude:
- php: 5.5
env: TESTBENCH_VERSION=3.3.* DATABASE_VERSION=3.3.* ILLUMINATE_VERSION=5.3.*
- php: 5.5
env: TESTBENCH_VERSION=3.4.* DATABASE_VERSION=3.4.*@dev ILLUMINATE_VERSION=5.4.*
before_install:
- composer global require hirak/prestissimo --update-no-dev
- composer require "illuminate/support:${ILLUMINATE_VERSION}" --no-update --prefer-dist
- composer require "orchestra/database:${DATABASE_VERSION}" --no-update --prefer-dist
- composer require "orchestra/testbench:${TESTBENCH_VERSION}" --no-update --prefer-dist
install: composer update --no-interaction --prefer-dist
script: vendor/bin/phpunit
notifications:
email: false