Open lassik opened 6 years ago
To Do:
windows
to the os
listLF
and not CRLF
. When cloning a repo and checking out a commit, the linebreaks depend on the OS, so Windows builds will fail TSLint since it uses CRLF and not LF. I'm playing around by adding a .gitattributes
file with * text=auto eol=lf
.Seems to be working in beautifier-eslint:
Awesome 🎉 The eslint Windows builds seem to be red, but only because of the CRLF situation.
It's red on the PR build, not the branch build.
What's different between them? The commit hash is the same.
I'll try pushing everything as one commit and see if that makes a difference. Otherwise I think one is a standard commit while the other is a merge commit.
The outcome seems to be the same :/ I just had a weird incident too, where something worked in Travis in a branch but not in a PR: https://github.com/Unibeautify/beautifier-clang-format/pull/81
BTW, should Code Climate be run separately for each platform, or is it enough to run it on Linux only?
It shouldn't matter. All it does it reports the coverage results of npm test
(I think all repos use that command) from Travis to CodeClimate, not much overhead.
Ah, that makes sense. For reference, the Code Climate reporter is not available (pre-built) for Windows, only Linux and OSX: https://docs.codeclimate.com/v1.0/docs/configuring-test-coverage#section-locations-of-pre-built-binaries
Yep, that's the second checkmark https://github.com/Unibeautify/unibeautify/issues/204#issuecomment-429361164
Sorry, missed that one.
From the Travis CI blog: Windows is Available (Early Release) Oct 11, 2018
Found by @stevenzeck