Skip to content

Commit 4dc3538

Browse files
Merge pull request #3 from SimpliField/fix/delivery-platform
[Fix] Update delivery tools
2 parents a64bd15 + 96ebd02 commit 4dc3538

File tree

4 files changed

+39
-11
lines changed

4 files changed

+39
-11
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
language: node_js
22
node_js:
3-
- '0.12'
3+
- '6.3.1'
44
before_script:
55
- 'npm install'
66
- 'bower install'
77
script: npm test
8-
after_script: "npm install coveralls@2.10.0 && cat ./coverage/*/lcov.info | coveralls"
8+
after_script: "npm install coveralls@2.10.0 && cat ./coverage/*/lcov.info | coveralls"

README.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
angular-sql-query
2-
=====================
3-
A simpler way to query a SQLite database
1+
# angular-sql-query
42

53
[![NPM version][npm-image]][npm-url]
6-
[![Build status][travis-image]][travis-url]
7-
[![Test coverage][coveralls-image]][coveralls-url]
4+
[![Build status][circleci-image]][circleci-url]
5+
[![Codacy Badge][codacy-image]][codacy-url]
6+
[![Codacy Coverage][codacy-coverage-image]][codacy-coverage-url]
87
[![Dependency Status][david-image]][david-url]
98
[![License][license-image]][license-url]
109
[![Downloads][downloads-image]][downloads-url]
@@ -24,7 +23,7 @@ When you're done, your setup should look similar to the following:
2423
<!doctype html>
2524
<html ng-app="myApp">
2625
<head>
27-
26+
2827
</head>
2928
<body>
3029
...
@@ -176,10 +175,16 @@ user.execute('SELECT * FROM user WHERE id=?', [1]);
176175

177176
[npm-image]: https://img.shields.io/npm/v/angular-sql-query.svg?style=flat-square
178177
[npm-url]: https://npmjs.org/package/angular-sql-query
179-
[travis-image]: https://img.shields.io/travis/SimpliField/angular-sql-query.svg?style=flat-square
180-
[travis-url]: https://travis-ci.org/SimpliField/angular-sql-query
178+
[circleci-image]: https://circleci.com/gh/SimpliField/angular-sql-query.svg?style=shield
179+
[circleci-url]: https://circleci.com/gh/SimpliField/angular-sql-query
181180
[coveralls-image]: https://img.shields.io/coveralls/SimpliField/angular-sql-query.svg?style=flat-square
182181
[coveralls-url]: https://coveralls.io/r/SimpliField/angular-sql-query
182+
[codacy-image]: https://api.codacy.com/project/badge/Grade/67af78db2da041f5a2d0dd9ca52850dd
183+
[codacy-url]:
184+
https://www.codacy.com/app/arnaud-spanneut/angular-sql-query/dashboard
185+
[codacy-coverage-image]: https://api.codacy.com/project/badge/Coverage/67af78db2da041f5a2d0dd9ca52850dd
186+
[codacy-coverage-url]:
187+
https://www.codacy.com/app/arnaud-spanneut/angular-sql-query/dashboard
183188
[david-image]: http://img.shields.io/david/SimpliField/angular-sql-query.svg?style=flat-square
184189
[david-url]: https://david-dm.org/SimpliField/angular-sql-query
185190
[license-image]: http://img.shields.io/npm/l/angular-sql-query.svg?style=flat-square

circle.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
machine:
2+
environment:
3+
CODACY_PROJECT_TOKEN: b50d7f3860844f70b2c831b8adc22fff
4+
COVERALLS_REPO_TOKEN: DN73y5QMkUP4bTdmDbkwv4diQwnOKkZBN
5+
6+
dependencies:
7+
pre:
8+
- nvm install v6.3.1
9+
- nvm alias default v6.3.1
10+
11+
test:
12+
pre:
13+
- bower install
14+
post:
15+
- npm run codacy
16+
- npm run coveralls

package.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,12 @@
1111
"compile": "gulp compile",
1212
"version": "gulp compile && git add .",
1313
"test": "./node_modules/gulp/bin/gulp.js compile && ./node_modules/karma/bin/karma start",
14-
"cli": "env NPM_RUN_CLI=1"
14+
"cli": "env NPM_RUN_CLI=1",
15+
"cover": "karma start karma.conf.js --single-run --reporters coverage",
16+
"codacy": "npm run cover && npm run codacy:send",
17+
"codacy:send": "cat ./coverage/report-lcov/lcov.info | ./node_modules/.bin/codacy-coverage",
18+
"coveralls": "npm run cover && npm run coveralls:send",
19+
"coveralls:send": "cat ./coverage/report-lcov/lcov.info | ./node_modules/coveralls/bin/coveralls.js"
1520
},
1621
"author": {
1722
"name": "Arnaud Spanneut <arnaud.spanneut@simplifield.com>"
@@ -23,6 +28,8 @@
2328
"babel-preset-es2015": "^6.24.1",
2429
"bower": "1.8.0",
2530
"chai": "3.5.0",
31+
"codacy-coverage": "^2.0.2",
32+
"coveralls": "^2.13.1",
2633
"eslint": "3.19.0",
2734
"eslint-config-simplifield": "5.1.1",
2835
"gulp": "3.9.1",

0 commit comments

Comments
 (0)