42 lines
678 B
YAML
42 lines
678 B
YAML
language: php
|
|
|
|
php:
|
|
- 7.0
|
|
- 7.1
|
|
- 7.2
|
|
|
|
git:
|
|
submodules: false
|
|
|
|
services:
|
|
- docker
|
|
|
|
env:
|
|
global:
|
|
- BUILD_LEADER_ID=1
|
|
|
|
cache:
|
|
directories:
|
|
- $HOME/.composer/cache
|
|
- $HOME/.npm
|
|
|
|
install:
|
|
- git submodule update --init --jobs 9
|
|
- composer install --prefer-dist --no-interaction
|
|
|
|
script:
|
|
- vendor/bin/phpcs -n
|
|
- vendor/bin/phpunit --coverage-clover=coverage.xml
|
|
|
|
after_success:
|
|
- bash <(curl -s https://codecov.io/bash)
|
|
- git config --replace-all remote.origin.fetch +refs/heads/*:refs/remotes/origin/*
|
|
- git fetch --tags
|
|
- nvm install 8 && nvm use 8
|
|
- npm install
|
|
- npm run semantic-release
|
|
|
|
branches:
|
|
except:
|
|
- /^v\d+\.\d+\.\d+$/
|