Skip to content

Commit

Permalink
finalize circleci branch
Browse files Browse the repository at this point in the history
  • Loading branch information
AlCalzone committed Mar 9, 2018
1 parent 3b4ec1c commit d8647df
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 14 deletions.
23 changes: 23 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,24 @@ jobs:
root: *workdir_latest
<<: *whitelist

# ----------------------------------------------------
# generates a clean build of the TypeScript sources
# to make sure there were no leftover build files
coverage:
<<: *latest

steps:
- attach_workspace:
at: *workdir_latest

- run:
name: Generate coverage report
command: npm run coverage

- run:
name: Upload it to coveralls.io
command: npm run coveralls

# ----------------------------------------------------
# generates a clean build of the TypeScript sources
# to make sure there were no leftover build files
Expand Down Expand Up @@ -160,6 +178,11 @@ workflows:
- test_latest:
<<: *tags_and_branches

- coverage:
requires:
- test_latest
<<: *tags_and_branches

# build only on tagged builds and if all tests succeeded
- build:
requires:
Expand Down
12 changes: 0 additions & 12 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# node-tradfri-client
Library to talk to IKEA Trådfri Gateways without external binaries

[![Build Status](https://travis-ci.org/AlCalzone/node-tradfri-client.svg?branch=master)](https://travis-ci.org/AlCalzone/node-tradfri-client)
[![Build Status](https://img.shields.io/circleci/project/github/AlCalzone/node-tradfri-client.svg)](https://circleci.com/gh/AlCalzone/node-tradfri-client)
[![Coverage Status](https://img.shields.io/coveralls/github/AlCalzone/node-tradfri-client.svg)](https://coveralls.io/github/AlCalzone/node-tradfri-client)

*Requires NodeJS >= 6.x*
Expand Down
2 changes: 1 addition & 1 deletion maintenance/release.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ if (argv.dry) {

const gitCommands = [
`git add -A`,
`git commit -m "release v${newVersion}"`,
`git commit -m "release v${newVersion} [skip ci]"`,
`git push`,
`git tag v${newVersion}`,
`git push origin --tags`,
Expand Down

0 comments on commit d8647df

Please sign in to comment.