File tree 10 files changed +54
-112
lines changed
10 files changed +54
-112
lines changed 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 12
12
.DS_Store
13
13
coverage.clover
14
14
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:
354
354
- distribution-type : library
355
355
distribution-repository : GitHub release
356
356
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
358
358
requires :
359
359
- name : rmccue/requests
360
360
min-version : 1.0.0
Original file line number Diff line number Diff line change 1
1
language : php
2
2
dist : xenial
3
3
os : 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
4
14
5
15
install :
6
16
- composer self-update && composer --version
@@ -15,6 +25,21 @@ stages:
15
25
- name : " code coverage"
16
26
if : |
17
27
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+$
18
43
19
44
jobs :
20
45
include :
39
64
php : ' 7.3'
40
65
script : vendor/bin/phpunit --verbose --coverage-clover=coverage.xml
41
66
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 1
1
# PubNub PHP SDK (V4)
2
2
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 )
4
4
[ ![ codecov] ( https://codecov.io/gh/pubnub/php/branch/master/graph/badge.svg )] ( https://codecov.io/gh/pubnub/php )
5
5
[ ![ Docs] ( https://img.shields.io/badge/docs-online-blue.svg )] ( https://www.pubnub.com/docs/php/pubnub-php-sdk )
6
6
![ GitHub release (latest by date)] ( https://img.shields.io/github/v/release/pubnub/php )
Original file line number Diff line number Diff line change 18
18
"require" : {
19
19
"php" : " >=5.6.0" ,
20
20
"rmccue/requests" : " ^1.0" ,
21
- "monolog/monolog" : " ^1.1|^2.0 "
21
+ "monolog/monolog" : " ^1.26 "
22
22
},
23
23
"require-dev" : {
24
24
"phpunit/phpunit" : " ^5.7"
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
- require_once __DIR__ . '/../src/autoloader .php ' ;
3
+ require_once __DIR__ . '/../vendor/autoload .php ' ;
4
4
5
5
6
6
$ pnconfig = \PubNub \PNConfiguration::demoKeys ();
You can’t perform that action at this time.
0 commit comments