forked from bigcommerce/bigcommerce-api-php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (30 loc) · 831 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
35
36
sudo: false
cache:
directories:
- $HOME/.composer
git:
depth: 1
language: php
before_install:
- composer self-update
- phpenv config-rm xdebug.ini || return 0
- composer global show hirak/prestissimo -q || composer global require hirak/prestissimo
matrix:
include:
- name: PHP 7.0 with lowest versions of dependencies
php: '7.0'
install: composer update --prefer-lowest
- name: PHP 7.0
php: '7.0'
install: composer update
- name: PHP 7.1
php: '7.1'
install: composer update
- name: PHP 7.2
php: '7.2'
install: composer update
after_script:
- php vendor/bin/coveralls -v
script:
- vendor/bin/php-cs-fixer fix --diff --dry-run -v
- vendor/bin/phpunit