Skip to content

Commit

Permalink
Adding an environment variable to the Travis CI configuration file in…
Browse files Browse the repository at this point in the history
… order to be able use the coveralls service during the CI process without explicitly providing a coveralls token in the environment.
  • Loading branch information
Fabrice Armisen committed May 15, 2016
1 parent 7235b74 commit a35b64c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ deploy:
env:
global:
- secure: DGaDDxh76Gv+qmu4SLuQDxmmZMpMiiVdIvveT1d3ly93zrqT7Pb9ur7P8Yz77AxU9UrMHEJ3Be05Uqe8xtTJCIora9io/tX4QLRtIXtRIOA3dYaYNBgXztQT7yzCi6E/L/DZa1+dNaGDpoUnLG0S3vpwhi3YjlWJDhLOfB3Txx0=
- FORCE_COVERALLS = 1
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"watch": "npm run build:js -- --watch",
"server": "http-server -o -c-1",
"test": "istanbul cover --report lcovonly _mocha",
"posttest": "if ! [ -z $COVERALLS_REPO_TOKEN ]; then cat coverage/lcov.info | coveralls; fi"
"posttest": "if ! [ -z \"$COVERALLS_REPO_TOKEN\" ] || [ \"${FORCE_COVERALLS}\" = \"1\" ]; then cat coverage/lcov.info | coveralls; fi"
},
"browser": {
"http": false,
Expand Down

0 comments on commit a35b64c

Please sign in to comment.