File tree 10 files changed +67
-57
lines changed
10 files changed +67
-57
lines changed Original file line number Diff line number Diff line change
1
+ name : Build
2
+ on : [push]
3
+ jobs :
4
+ test :
5
+ name : Test
6
+ runs-on : ubuntu-18.04
7
+ steps :
8
+ - uses : actions/checkout@v1
9
+ - name : Checkout
10
+ run : git checkout "${GITHUB_REF:11}"
11
+ - name : Composer Install
12
+ run : composer install
13
+ - name : PHPCS
14
+ run : ./vendor/bin/phpcs src tests
15
+ - name : Run Tests
16
+ run : ./vendor/bin/phpunit
17
+ - name : Coveralls
18
+ if : github.ref == 'refs/heads/master'
19
+ run : ./vendor/bin/php-coveralls -v --coverage_clover build/coverage.xml --json_path build/coveralls-upload.json
20
+ env :
21
+ COVERALLS_REPO_TOKEN : ${{ secrets.COVERALLS_REPO_TOKEN }}
22
+ release :
23
+ name : Release
24
+ if : github.ref == 'refs/heads/master'
25
+ needs : test
26
+ runs-on : ubuntu-18.04
27
+ steps :
28
+ - name : Checkout
29
+ uses : actions/checkout@v1
30
+ - name : Setup Node.js
31
+ uses : actions/setup-node@v1
32
+ with :
33
+ node-version : 12
34
+ - name : Install dependencies
35
+ run : yarn install
36
+ - name : Release
37
+ env :
38
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
39
+ run : npx semantic-release@15
Original file line number Diff line number Diff line change 2
2
composer.lock
3
3
docs
4
4
vendor
5
- coverage
5
+ coverage
6
+ .phpunit.result.cache
Original file line number Diff line number Diff line change
1
+ plugins:
2
+ - @semantic-release/commit-analyzer
3
+ - @semantic-release/release-notes-generator
4
+ - @semantic-release/github
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 1
- # Very short description of the package
1
+ # Laravel Analytics
2
2
3
- [ ![ Latest Version on Packagist] ( https://img.shields.io/packagist/v/ohseesoftware/laravel-analytics.svg?style=flat-square )] ( https://packagist.org/packages/ohseesoftware/laravel-analytics )
4
- [ ![ Build Status] ( https://img.shields.io/travis/ohseesoftware/laravel-analytics/master.svg?style=flat-square )] ( https://travis-ci.org/ohseesoftware/laravel-analytics )
5
- [ ![ Quality Score] ( https://img.shields.io/scrutinizer/g/ohseesoftware/laravel-analytics.svg?style=flat-square )] ( https://scrutinizer-ci.com/g/ohseesoftware/laravel-analytics )
6
- [ ![ Total Downloads] ( https://img.shields.io/packagist/dt/ohseesoftware/laravel-analytics.svg?style=flat-square )] ( https://packagist.org/packages/ohseesoftware/laravel-analytics )
3
+ [ ![ Current Release] ( https://img.shields.io/github/release/ohseesoftware/laravel-analytics.svg?style=flat-square )] ( https://github.com/ohseesoftware/laravel-analytics/releases )
4
+ ![ Build Status Badge] ( https://github.com/ohseesoftware/laravel-analytics/workflows/Build/badge.svg )
5
+ [ ![ Coverage Status] ( https://coveralls.io/repos/github/ohseesoftware/laravel-analytics/badge.svg?branch=master )] ( https://coveralls.io/github/ohseesoftware/laravel-analytics?branch=master )
6
+ [ ![ Maintainability Score] ( https://img.shields.io/codeclimate/maintainability/ohseesoftware/laravel-analytics.svg?style=flat-square )] ( https://codeclimate.com/github/ohseesoftware/laravel-analytics )
7
+ [ ![ Downloads] ( https://img.shields.io/packagist/dt/ohseesoftware/laravel-analytics.svg?style=flat-square )] ( https://packagist.org/packages/ohseesoftware/laravel-analytics )
8
+ [ ![ MIT License] ( https://img.shields.io/github/license/ohseesoftware/laravel-analytics.svg?style=flat-square )] ( https://github.com/ohseesoftware/laravel-analytics/blob/master/LICENSE )
7
9
8
- This is where your description should go. Try and limit it to a paragraph or two, and maybe throw in a mention of what PSRs you support to avoid any confusion with users and contributors.
10
+ Server side analytics for your Laravel application or website. No cookies, no tracking :)
9
11
10
12
## Installation
11
13
Original file line number Diff line number Diff line change 16
16
}
17
17
],
18
18
"require" : {
19
- "php" : " ^7.1" ,
20
- "illuminate/support" : " 5.8.*"
19
+ "php" : " ^7.3" ,
20
+ "illuminate/support" : " >=6" ,
21
+ "phpunit/phpunit" : " ^8.4"
21
22
},
22
23
"require-dev" : {
23
- "orchestra/testbench" : " 3.8.*" ,
24
- "phpunit/phpunit" : " ^7.0"
24
+ "orchestra/testbench" : " 4.4.*" ,
25
+ "php-coveralls/php-coveralls" : " ^2.2" ,
26
+ "squizlabs/php_codesniffer" : " *"
25
27
},
26
28
"autoload" : {
27
29
"psr-4" : {
36
38
"scripts" : {
37
39
"test" : " vendor/bin/phpunit" ,
38
40
"test-coverage" : " vendor/bin/phpunit --coverage-html coverage"
39
-
40
41
},
41
42
"config" : {
42
43
"sort-packages" : true
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" ?>
2
+ <ruleset >
3
+ <description >Oh See Software PHPCS config.</description >
4
+ <rule ref =" PSR2" >
5
+ <exclude name =" PSR1.Methods.CamelCapsMethodName" />
6
+ </rule >
7
+ </ruleset >
Original file line number Diff line number Diff line change 22
22
<logging >
23
23
<log type =" tap" target =" build/report.tap" />
24
24
<log type =" junit" target =" build/report.junit.xml" />
25
- <log type =" coverage-html" target =" build/coverage" charset = " UTF-8 " yui = " true " highlight = " true " />
25
+ <log type =" coverage-html" target =" build/coverage" />
26
26
<log type =" coverage-text" target =" build/coverage.txt" />
27
27
<log type =" coverage-clover" target =" build/logs/clover.xml" />
28
28
</logging >
You can’t perform that action at this time.
0 commit comments