Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

CI, coffeelint and travis #58

Merged
merged 1 commit into from
Feb 29, 2016
Merged

CI, coffeelint and travis #58

merged 1 commit into from
Feb 29, 2016

Conversation

arusakov
Copy link
Member

@park9140 I want to setup CI (via https://travis-ci.org/), but admin rights required.
Coffeelint to start. I will add specs in future.

@Arcanemagus
Copy link
Member

Travis-CI enabled 😉

@Arcanemagus
Copy link
Member

You should take a look at https://github.com/atom/ci, there are example CI configurations that do a lot for you, and are great bases to configure further from.

"license": "MIT",
"engines": {
"atom": ">0.50.0"
},
"dependencies": {
"atom-package-deps": "^4.0.1",
"atom-package-deps": "4.0.1",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would highly recommend against this, with GreenKeeper enabled on this repo and tests + CI builds enabled all versions will be tested for you. If one of your allowed versions breaks things you will get a PR telling you so, from there you can either pin the version or fix the thing that is broken.

If you pin it like this though you will get a PR for every single update, since it will be outside your allowed range.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Arcanemagus Let me explain some use case:
For example, the atom-package-deps has been updated to v4.1.0. v4.1.0 satisfies ^4.0.1 and breaks something. So until I am not fixed changes or pinned the version, all new linter-tslint users can get an error. From this point of view - strict versioning is the most stable variant.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Greenkeeper will usually run the builds testing things within a few minutes, so as long as you are watching the notifications your area of vulnerability isn't that long.

If you pin the versions that's fine too (and as you note, slightly more stable), however just be warned that you will get PRs for every update.

@arusakov
Copy link
Member Author

@Arcanemagus Thx for review. I'm going to look at https://github.com/atom/ci.

@arusakov arusakov force-pushed the coffeelint_and_travis branch from 36a224c to 13c92e6 Compare February 29, 2016 08:49
@arusakov arusakov force-pushed the coffeelint_and_travis branch from 13c92e6 to 51ea12d Compare February 29, 2016 08:58
@arusakov arusakov closed this Feb 29, 2016
@arusakov arusakov deleted the coffeelint_and_travis branch February 29, 2016 09:07
@arusakov arusakov restored the coffeelint_and_travis branch February 29, 2016 09:07
@arusakov arusakov reopened this Feb 29, 2016
arusakov added a commit that referenced this pull request Feb 29, 2016
@arusakov arusakov merged commit b857075 into master Feb 29, 2016
@arusakov arusakov deleted the coffeelint_and_travis branch February 29, 2016 09:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants