File tree Expand file tree Collapse file tree 2 files changed +73
-0
lines changed Expand file tree Collapse file tree 2 files changed +73
-0
lines changed Original file line number Diff line number Diff line change
1
+ version : 2
2
+
3
+ jobs :
4
+ test-7.1 :
5
+ docker :
6
+ - image : circleci/php:7.1-node-browsers
7
+ steps :
8
+ - checkout
9
+ - run : sudo composer self-update
10
+ - restore_cache :
11
+ keys :
12
+ - composer-v1-{{ checksum "composer.lock" }}
13
+ - composer-v1-
14
+ - run : composer install -n --prefer-dist
15
+ - save_cache :
16
+ key : composer-v1-{{ checksum "composer.lock" }}
17
+ paths :
18
+ - vendor
19
+ - run : ./vendor/bin/phpunit --coverage-text
20
+
21
+ test-7.2 :
22
+ docker :
23
+ - image : circleci/php:7.2-node-browsers
24
+ steps :
25
+ - checkout
26
+ - run : sudo composer self-update
27
+ - restore_cache :
28
+ keys :
29
+ - composer-v1-{{ checksum "composer.lock" }}
30
+ - composer-v1-
31
+ - run : composer install -n --prefer-dist
32
+ - save_cache :
33
+ key : composer-v1-{{ checksum "composer.lock" }}
34
+ paths :
35
+ - vendor
36
+ - run : ./vendor/bin/phpunit --coverage-text
37
+
38
+ release :
39
+ docker :
40
+ - image : circleci/node:9
41
+ steps :
42
+ - checkout
43
+ - run : yarn global add --prefer-offline --no-progress --non-interactive "semantic-release@15.5.0" "@semantic-release/exec@2.2.4"
44
+ - run : $(yarn global bin)/semantic-release
45
+
46
+ workflows :
47
+ version : 2
48
+ build-n-release :
49
+ jobs :
50
+ - test-7.1
51
+ - test-7.2
52
+ - hold :
53
+ type : approval
54
+ requires :
55
+ - test-7.1
56
+ - test-7.2
57
+ filters :
58
+ branches :
59
+ only : master
60
+ - release :
61
+ context : org-global
62
+ requires :
63
+ - hold
64
+ filters :
65
+ branches :
66
+ only : master
Original file line number Diff line number Diff line change
1
+ ---
2
+ repositoryUrl: https://github.com/estahn/phpunit-json-assertions
3
+ verifyConditions: ['@semantic-release/github']
4
+ prepare: []
5
+ publish: ['@semantic-release/github']
6
+ success: ['@semantic-release/github']
7
+ fail: ['@semantic-release/github']
You can’t perform that action at this time.
0 commit comments