mirror of
https://github.com/ivuorinen/curly.git
synced 2026-02-17 07:49:43 +00:00
Travis CI config
This commit is contained in:
27
.travis.yml
Normal file
27
.travis.yml
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
language: php
|
||||||
|
|
||||||
|
env:
|
||||||
|
global:
|
||||||
|
- setup=stable
|
||||||
|
|
||||||
|
matrix:
|
||||||
|
fast_finish: true
|
||||||
|
include:
|
||||||
|
- php: 7.1
|
||||||
|
- php: 7.1
|
||||||
|
env: setup=lowest
|
||||||
|
- php: 7.2
|
||||||
|
- php: 7.2
|
||||||
|
env: setup=lowest
|
||||||
|
|
||||||
|
sudo: false
|
||||||
|
|
||||||
|
cache:
|
||||||
|
directories:
|
||||||
|
- $HOME/.composer/cache
|
||||||
|
|
||||||
|
install:
|
||||||
|
- if [[ $setup = 'stable' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-stable --no-suggest; fi
|
||||||
|
- if [[ $setup = 'lowest' ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-lowest --prefer-stable --no-suggest; fi
|
||||||
|
|
||||||
|
script: vendor/bin/phpunit
|
||||||
Reference in New Issue
Block a user