forked from rmariuzzo/Laravel-JS-Localization
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
26 lines (22 loc) · 857 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
dist: trusty
language: php
php:
- '5.5'
- '5.6'
- '7.0'
# 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 self-update
# Installing `Laravel-JS-Localization` package dependencies. If the current
# PHP version is 5.5 then we should require minimum supported illuminate
# dependencies.
- if [[ `php -v` =~ "PHP 5.5" ]]; then composer require "illuminate/config:4.2.*" "illuminate/console:4.2.*" "illuminate/filesystem:4.2.*"; fi
- composer install --prefer-dist --no-interaction
# Installing `Laravel-JS-Localization` package dependencies for each
# supported Laravel versions (see composer.json, under scripts section).
- composer test-install
script: composer test