File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- * @ seba-aln @ 650elx @ raipubnub
2- .github /* @ parfeon @ seba-aln @ 650elx @ raipubnub
3- README.md @ techwritermat @ kazydek
1+ * @ raipubnub @ 650elx @ seba-aln
2+ .travis /* @ parfeon @ raipubnub @ 650elx
3+ README.md @ techwritermat
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1212.DS_Store
1313coverage.clover
1414
15- # GitHub Actions #
16- # #################
17- .github /.release
15+ .travis /README.md
16+ .travis /scripts
17+
18+ deployment_keys
19+ deployment_keys-private
20+ deployment_keys.tar
21+
22+ .travis /github-labels-policy.json
23+ .travis /github-labels.json
Original file line number Diff line number Diff line change @@ -354,7 +354,7 @@ sdks:
354354 - distribution-type : library
355355 distribution-repository : GitHub release
356356 package-name : php-4.3.0.zip
357- location : https://github.com/pubnub/php/releases/tag/v4.3.0
357+ location : https://github.com/pubnub/php-private /releases/tag/v4.3.0
358358 requires :
359359 - name : rmccue/requests
360360 min-version : 1.0.0
Original file line number Diff line number Diff line change 11language : php
22dist : xenial
33os : linux
4+
5+ env :
6+ global :
7+ - SOURCE_FOLDER_PATH="./"
8+ - TARGET_FOLDER_PATH="./"
9+
10+ before_install :
11+ - ./.travis/bootstrap.sh
12+ - ./.travis/scripts/key_decrypt.sh deployment_keys.tar deployment_keys $encrypted_2a5fd2384630_key $encrypted_2a5fd2384630_iv
13+ - ./.travis/scripts/git_config.sh
414
515install :
616 - composer self-update && composer --version
@@ -15,6 +25,21 @@ stages:
1525 - name : " code coverage"
1626 if : |
1727 type == pull_request
28+ - name : " release candidate"
29+ if : |
30+ type != pull_request \
31+ AND tag IS present \
32+ AND tag =~ ^v\d+\.\d+\.\d+-rc\.\d+$
33+ - name : " release"
34+ if : |
35+ type != pull_request \
36+ AND tag IS present \
37+ AND tag =~ ^v\d+\.\d+\.\d+$
38+ - name : " synchronize"
39+ if : |
40+ type != pull_request \
41+ AND tag IS present \
42+ AND tag =~ ^v?\d+\.\d+\.\d+-nodeploy\.\d+$
1843
1944jobs :
2045 include :
3964 php : ' 7.3'
4065 script : vendor/bin/phpunit --verbose --coverage-clover=coverage.xml
4166 after_success :
42- - bash <(curl -s https://codecov.io/bash)
67+ - bash <(curl -s https://codecov.io/bash)
68+ - stage : " release candidate"
69+ name : " Deploy release candidate"
70+ php : ' 7.3'
71+ script : ./.travis/scripts/deploy.sh release-candidate pubnub/php
72+ - stage : " release"
73+ name : " Deploy release"
74+ php : ' 7.3'
75+ script : ./.travis/scripts/deploy.sh release pubnub/php
76+ - stage : " synchronize"
77+ name : " Not deployable synchronization"
78+ php : ' 7.3'
79+ script : ./.travis/scripts/synchronization.sh pubnub/php
Original file line number Diff line number Diff line change 11# PubNub PHP SDK (V4)
22
3- [ ![ Build Status] ( https://travis-ci.com/pubnub/php.svg?branch=master )] ( https://travis-ci.com/pubnub/php )
3+ [ ![ Build Status] ( https://travis-ci.com/pubnub/php-private .svg?token=V4772uMGPqyaA9eaPg8s& branch=master )] ( https://travis-ci.com/pubnub/php-private )
44[ ![ codecov] ( https://codecov.io/gh/pubnub/php/branch/master/graph/badge.svg )] ( https://codecov.io/gh/pubnub/php )
55[ ![ Docs] ( https://img.shields.io/badge/docs-online-blue.svg )] ( https://www.pubnub.com/docs/php/pubnub-php-sdk )
66![ GitHub release (latest by date)] ( https://img.shields.io/github/v/release/pubnub/php )
Original file line number Diff line number Diff line change 1818 "require" : {
1919 "php" : " >=5.6.0" ,
2020 "rmccue/requests" : " ^1.0" ,
21- "monolog/monolog" : " ^1.1|^2.0 "
21+ "monolog/monolog" : " ^1.26 "
2222 },
2323 "require-dev" : {
2424 "phpunit/phpunit" : " ^5.7"
Original file line number Diff line number Diff line change 11<?php
22
3- require_once __DIR__ . '/../src/autoloader .php ' ;
3+ require_once __DIR__ . '/../vendor/autoload .php ' ;
44
55
66$ pnconfig = \PubNub \PNConfiguration::demoKeys ();
You can’t perform that action at this time.
0 commit comments