π run a command only once in the travis test matrix
language: node_js
node_js:
- 8.9
- 9
...
after_success:
- travis-spawn-once .travis/after_success.sh --skipPR
π run a command only once in the travis test matrix
Usage
$ travis-spawn-once "<command> <args>" --<opt>
Options
--ghTokenName, -g The name of the environment variable holding the GitHub token
--skipPR, -s Skip the command on a PR build
--buildLeaderId, -b Build leader id
--travisPro, -p Indicate that you're using Travis Pro
Examples
$ travis-spawn-once "yarn deploy" --skipPR
If youβd like to make travis-spawn-once better, please read our guide to contributing.
travis-spawn-once is MIT licensed.