1
0
mirror of synced 2025-01-18 17:01:41 +03:00

github releases

This commit is contained in:
Akolzin Dmitry 2020-03-03 14:28:16 +03:00
parent 0720148f9e
commit 5e1f52a57e
2 changed files with 26 additions and 5 deletions

View File

@ -7,6 +7,7 @@ if: tag IS blank
stages:
- test
- github releases
- deploy
before_script:
@ -24,9 +25,6 @@ script: make test
jobs:
include:
- php: 7.3
env: WP_VERSION=latest WC_VERSION=latest WP_MULTISITE=0 USE_COMPOSER=1
after_success: bash <(curl -s https://codecov.io/bash)
- php: 5.3
dist: precise
env: WP_VERSION=4.4 WC_VERSION=3.0.0 WP_MULTISITE=0
@ -229,6 +227,8 @@ jobs:
env: WP_VERSION=latest WC_VERSION=3.9.0 WP_MULTISITE=0
- php: 7.2
env: WP_VERSION=latest WC_VERSION=3.9.0 WP_MULTISITE=0 USE_COMPOSER=1
- php: 7.3
env: WP_VERSION=latest WC_VERSION=latest WP_MULTISITE=0 USE_COMPOSER=1
- php: 7.0
env: WP_VERSION=latest WC_VERSION=latest WP_MULTISITE=0
@ -236,7 +236,24 @@ jobs:
env: WP_VERSION=latest WC_VERSION=latest WP_MULTISITE=0
- php: 7.2
env: WP_VERSION=latest WC_VERSION=latest WP_MULTISITE=0 USE_COMPOSER=1
- php: 7.3
env: WP_VERSION=latest WC_VERSION=latest WP_MULTISITE=0 USE_COMPOSER=1
after_success: bash <(curl -s https://codecov.io/bash)
- stage: github releases
before_deploy:
- export VERSION=`cat VERSION`
- git config --local user.name "retailCRM"
- git config --local user.email "support@retailcrm.ru"
- export TRAVIS_TAG=v$VERSION
- git tag $TRAVIS_TAG
deploy:
provider: releases
token: $GITHUB_OAUTH_TOKEN
cleanup: false
on:
condition: "$LAST_TAG != $CURRENT_VERSION"
if: branch = master AND type = push
- stage: deploy
deploy:
cleanup: false

View File

@ -5,6 +5,10 @@
Woocommerce-module
==================
Модуль интеграции с [retailCRM](http://retailcrm.ru)
Integration plugin for WooCommerce and [retailCRM](http://retailcrm.ru)
Информация о [кастомизации](https://github.com/retailcrm/woocommerce-module/wiki/%D0%9A%D0%B0%D1%81%D1%82%D0%BE%D0%BC%D0%B8%D0%B7%D0%B0%D1%86%D0%B8%D1%8F-%D0%B8%D0%BD%D1%82%D0%B5%D0%B3%D1%80%D0%B0%D1%86%D0%B8%D0%BE%D0%BD%D0%BD%D0%BE%D0%B3%D0%BE-%D0%BF%D0%BB%D0%B0%D0%B3%D0%B8%D0%BD%D0%B0)
[Customization](https://github.com/retailcrm/woocommerce-module/wiki/%D0%9A%D0%B0%D1%81%D1%82%D0%BE%D0%BC%D0%B8%D0%B7%D0%B0%D1%86%D0%B8%D1%8F-%D0%B8%D0%BD%D1%82%D0%B5%D0%B3%D1%80%D0%B0%D1%86%D0%B8%D0%BE%D0%BD%D0%BD%D0%BE%D0%B3%D0%BE-%D0%BF%D0%BB%D0%B0%D0%B3%D0%B8%D0%BD%D0%B0) info
#### Local testing
To local testing run `docker-compose up`