forked from code16/sharp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
34 lines (29 loc) · 866 Bytes
/
.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
language: php
sudo: trues
php:
- 7.1
- 7.2
- 7.3
env:
- ILLUMINATE_VERSION=5.5.* PHPUNIT_VERSION=~6.0
- ILLUMINATE_VERSION=5.6.* PHPUNIT_VERSION=~7.0
- ILLUMINATE_VERSION=5.7.* PHPUNIT_VERSION=~7.0
- ILLUMINATE_VERSION=5.8.* PHPUNIT_VERSION=~7.5
matrix:
fast_finish: true
before_install:
- composer require "laravel/framework:${ILLUMINATE_VERSION}" --no-update --prefer-dist
- composer require "orchestra/testbench:${ILLUMINATE_VERSION/5\./3\.}" --no-update --prefer-dist
- composer require "phpunit/phpunit:${PHPUNIT_VERSION}" --no-update --prefer-dist
install:
## back dependencies
- travis_retry composer self-update
- travis_retry composer install --no-interaction --prefer-dist
## front dependencies
- . $HOME/.nvm/nvm.sh
- nvm install 11.6
- nvm use 11.6
- npm install
script:
- vendor/bin/phpunit
- npm run test