forked from JeremyDunn/column-sortable
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
35 lines (25 loc) · 770 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
php:
- 7.2
git:
depth: 2
env:
- version=L5-8
- version=L6
sudo: false
cache:
directories:
- $HOME/.composer/cache
before_install:
- phpenv config-rm xdebug.ini
- travis_retry composer self-update
install:
- travis_retry composer install --no-interaction --prefer-dist --no-suggest;
- if [[ $version = 'L5-8' ]]; then travis_retry composer require --dev --update-with-dependencies --no-suggest --no-interaction orchestra/testbench:"3.8.*" phpunit/phpunit:"^7.0"; fi
- if [[ $version = 'L6' ]]; then travis_retry composer require --dev --update-with-dependencies --no-suggest --no-interaction orchestra/testbench:"4.*" phpunit/phpunit:"^8.0"; fi
script: vendor/bin/phpunit
branches:
only:
- master
- L5.8
- L6