Skip to content

Commit 35f6ebf

Browse files
author
ArnaudSpanneut
committed
feat(tools): Add travis support
1 parent 76fdc2f commit 35f6ebf

File tree

3 files changed

+29
-4
lines changed

3 files changed

+29
-4
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
1-
angular-sql-query
2-
=====================
1+
# angular-sql-query
2+
3+
[![CircleCI](https://circleci.com/gh/SimpliField/angular-sql-query.svg?style=svg)](https://circleci.com/gh/SimpliField/angular-sql-query)
4+
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/67af78db2da041f5a2d0dd9ca52850dd)](https://www.codacy.com?utm_source=github.com&utm_medium=referral&utm_content=SimpliField/sf-frontend&utm_campaign=Badge_Grade)
5+
[![Codacy Badge](https://api.codacy.com/project/badge/Coverage/67af78db2da041f5a2d0dd9ca52850dd)](https://www.codacy.com?utm_source=github.com&utm_medium=referral&utm_content=SimpliField/sf-frontend&utm_campaign=Badge_Coverage)
6+
37
A simpler way to query a SQLite database
48

59
[![NPM version][npm-image]][npm-url]
@@ -24,7 +28,7 @@ When you're done, your setup should look similar to the following:
2428
<!doctype html>
2529
<html ng-app="myApp">
2630
<head>
27-
31+
2832
</head>
2933
<body>
3034
...

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: 67af78db2da041f5a2d0dd9ca52850dd
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: 6 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>"

0 commit comments

Comments
 (0)