Commit 1816f73
committed
Fix failing coveralls script.
For PR's `process.env.COVERALLS_REPO_TOKEN` does not exist, so `tap`
will not automatically send data to coveralls. Hence our existing script:
`npm run coveralls`. Unfortuneately that seems to create problems
to create problems when merged onto master. In that case `tap` **will**
automatically push our coverage data, and the follow up push seems to fail.
To fix all this, I check the environment variable in .travis.yaml, and
manually push the coverage data if the environment variable does not exist.
https://travis-ci.org/sindresorhus/ava/jobs/928557511 parent 4852c92 commit 1816f73
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
| 7 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
| |||
0 commit comments