Skip to content

Commit 0c072b6

Browse files
committed
ci: set up automatic releases
1 parent 48deb83 commit 0c072b6

File tree

5 files changed

+6559
-1
lines changed

5 files changed

+6559
-1
lines changed

.editorconfig

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
2+
[*]
3+
insert_final_newline = true
4+
end_of_line = lf
5+
charset = utf-8
6+
trim_trailing_whitespace = true
7+
indent_style = space
8+
indent_size = 4
9+
10+
[*.{json,yml}]
11+
indent_size = 2
12+
13+
[composer.json]
14+
indent_size = 4
15+
16+
[*.md]
17+
trim_trailing_whitespace = false

.travis.yml

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,39 @@
1-
---
21
language: php
32

43
php:
54
- '7.0'
65
- '7.2'
76

7+
env:
8+
global:
9+
- FORCE_COLOR=1
10+
11+
cache:
12+
directories:
13+
- ~/.composer/cache
14+
- ~/.npm
15+
816
install:
917
- composer install --prefer-dist --no-interaction
1018

1119
script:
1220
- vendor/bin/phpcs -n
1321
- composer phpstan
22+
23+
jobs:
24+
include:
25+
- stage: test
26+
- stage: release
27+
language: node_js
28+
node_js: '10'
29+
script:
30+
- ./node_modules/.bin/semantic-release
31+
32+
stages:
33+
- test
34+
- name: release
35+
if: branch = master AND type = push AND fork = false
36+
37+
branches:
38+
except:
39+
- /^v\d+\.\d+\.\d+$/

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,14 @@
66
[![license](https://img.shields.io/packagist/l/felixfbecker/language-server-protocol.svg)](https://github.com/felixfbecker/php-language-server-protocol/blob/master/LICENSE)
77

88
Protocol classes for the [Language Server Protocol](https://microsoft.github.io/language-server-protocol-protocol/) in PHP
9+
10+
## Installation
11+
12+
```
13+
composer require felixfbecker/language-server-protocol
14+
```
15+
16+
## Releases
17+
18+
Releases are done automatically in CI by analyzing commit messages.
19+
Make sure to follow the [Conventional Commits Convention](https://www.conventionalcommits.org/en/v1.0.0-beta.2/).

0 commit comments

Comments
 (0)