-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy path.travis.yml
29 lines (23 loc) · 877 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
language: php
sudo: false
php:
- 7.1
- 7.2
env:
global:
- setup=basic
# Optimize the build since we are `composer installing` for each supported
# Laravel versions (see composer.json, under scripts sections).
cache:
directories:
- $HOME/.composer/cache
before_script:
- composer config discard-changes true
- if [[ $setup = 'basic' ]]; then travis_retry composer install --prefer-dist --no-interaction; fi
- if [[ $setup = 'stable' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-stable; fi
- if [[ $setup = 'lowest' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-lowest --prefer-stable; fi
# Installing `Laravel-YouTrack-SDK` package dependencies for each
# supported Laravel versions (see composer.json, under scripts section).
- composer test-install
script:
- composer test