Skip to content
This repository was archived by the owner on Apr 27, 2021. It is now read-only.

Commit e6645a3

Browse files
qbootjoelwurtz
authored andcommitted
Add proxy-sdk-php / proxy-nodejs to Travis CI & Scrutinizer (#528)
* Change email [email protected] to [email protected] * Add MIT LICENCE files/badges + Update README * Move symfony/package content in symfony directory root * Add PHP SDK / NodeJs Proxy to Travis CI & Scrutinizer * Fix docker demo orchestration issue on fresh install
1 parent cc64772 commit e6645a3

File tree

11 files changed

+3160
-975
lines changed

11 files changed

+3160
-975
lines changed

.eslintignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
/lib/
2-
/flow-typed/
1+
lib/
2+
flow-typed/
3+
coverage/

.gitignore

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
/node_modules/
2-
/examples/*/logs/*
3-
!/examples/*/logs/.gitkeep
4-
/lib/
1+
node_modules/
2+
examples/*/logs/*
3+
!examples/*/logs/.gitkeep
4+
lib/
5+
coverage/

.npmignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
/src/
1+
src/

.scrutinizer.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
filter:
2+
paths: [src/]
3+
excluded_paths: [lib/]
4+
5+
checks:
6+
javascript: true
7+
8+
tools:
9+
external_code_coverage: true

.travis.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
language: node_js
2+
3+
sudo: false
4+
5+
cache:
6+
yarn: true
7+
directories:
8+
- node_modules
9+
10+
node_js:
11+
- 6
12+
- 8
13+
- node
14+
15+
branches:
16+
only:
17+
- master
18+
19+
env:
20+
global:
21+
- COMMAND="yarn test"
22+
23+
matrix:
24+
fast_finish: true
25+
include:
26+
- node_js: 6
27+
env:
28+
- COVERAGE=true
29+
- COMMAND="yarn code-coverage"
30+
- node_js: node
31+
env:
32+
- COMMAND="yarn lint"
33+
34+
install:
35+
- travis_retry yarn install --non-interactive
36+
37+
script:
38+
- travis_wait $COMMAND
39+
40+
after_success:
41+
- if [[ "$COVERAGE" = true ]]; then wget https://scrutinizer-ci.com/ocular.phar; fi
42+
- if [[ "$COVERAGE" = true ]]; then php ocular.phar code-coverage:upload --format=php-clover coverage/clover.xml; fi

LICENCE renamed to LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2017 redirection.io
1+
Copyright (c) 2018 redirection.io
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy of
44
this software and associated documentation files (the "Software"), to deal in

README.md

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,24 @@
1-
# redirection.io Node Module
1+
# RedirectionIO Proxy for NodeJs
22

3-
redirection.io module works in combination with [redirection.io](https://redirection.io).
3+
[![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg)](LICENSE)
4+
[![Build Status](https://img.shields.io/travis/redirectionio/proxy-nodejs/master.svg)](https://travis-ci.org/redirectionio/proxy-nodejs)
5+
[![Code Coverage](https://img.shields.io/scrutinizer/coverage/g/redirectionio/proxy-nodejs.svg)](https://scrutinizer-ci.com/g/redirectionio/proxy-nodejs)
6+
[![Quality Score](https://img.shields.io/scrutinizer/g/redirectionio/proxy-nodejs.svg)](https://scrutinizer-ci.com/g/redirectionio/proxy-nodejs)
7+
8+
[![Email](https://img.shields.io/badge/[email protected])](mailto:[email protected])
9+
10+
redirection.io NodeJs Proxy works in combination with [redirection.io](https://redirection.io).
411

512
If you don't know what is redirection.io, take the time to make a quick tour on the website.
613

714
Before using it, you need:
815
- a redirection.io account
916
- a configured redirection.io agent on your server
1017

11-
You don't have an account ? Please create one [here](https://redirection.io).
12-
You don't have an installed and configured agent ? Follow the [installation guide](https://redirection.io).
18+
You don't have an account ? Please contact us [here](https://redirection.io/contact-us).
19+
You don't have an installed and configured agent ? Follow the [installation guide](https://redirection.io/documentation/developer-documentation/getting-started-installing-the-agent).
1320

14-
Drop us an email to `coucou@redirection.io` if you need help or have any question.
21+
Drop us an email to `support@redirection.io` if you need help or have any question.
1522

1623
## Requirements
1724

0 commit comments

Comments
 (0)