github releases
This commit is contained in:
parent
0720148f9e
commit
5e1f52a57e
23
.travis.yml
23
.travis.yml
@ -7,6 +7,7 @@ if: tag IS blank
|
|||||||
|
|
||||||
stages:
|
stages:
|
||||||
- test
|
- test
|
||||||
|
- github releases
|
||||||
- deploy
|
- deploy
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
@ -24,9 +25,6 @@ script: make test
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
include:
|
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
|
- php: 5.3
|
||||||
dist: precise
|
dist: precise
|
||||||
env: WP_VERSION=4.4 WC_VERSION=3.0.0 WP_MULTISITE=0
|
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
|
env: WP_VERSION=latest WC_VERSION=3.9.0 WP_MULTISITE=0
|
||||||
- php: 7.2
|
- php: 7.2
|
||||||
env: WP_VERSION=latest WC_VERSION=3.9.0 WP_MULTISITE=0 USE_COMPOSER=1
|
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
|
- php: 7.0
|
||||||
env: WP_VERSION=latest WC_VERSION=latest WP_MULTISITE=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
|
env: WP_VERSION=latest WC_VERSION=latest WP_MULTISITE=0
|
||||||
- php: 7.2
|
- php: 7.2
|
||||||
env: WP_VERSION=latest WC_VERSION=latest WP_MULTISITE=0 USE_COMPOSER=1
|
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
|
- stage: deploy
|
||||||
deploy:
|
deploy:
|
||||||
cleanup: false
|
cleanup: false
|
||||||
|
@ -5,6 +5,10 @@
|
|||||||
Woocommerce-module
|
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`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user