Set concurrency option to 1 when $TRAVIS = true
See original GitHub issueIt seems like Travis CI doesn’t handle multiple processes. I’m currently using this npm script to run tests: "test": "[ \"$TRAVIS\" ] && c=1 || c=5; ava -c $c"
But it doesn’t work on Windows. I’m looking for a cross-platform conditional statement solution, but I’m wondering if this condition should be made on AVA itself.
Reference: https://github.com/diegohaz/generator-rest/issues/11
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
Customizing the Build - Travis CI Docs
You can set the maximum number of concurrent jobs in the settings pane for each repository. Settings -> Limit concurrent builds. Or using...
Read more >Feature Request: Limit concurrent builds by branch / tag / PR
Generally speaking, limiting the concurrency across the builds is a repository-level concern, and not a build-level (and therefore commit-level) concern.
Read more >Conan local cache: concurrency, Continuous Integration ...
Build concurrent jobs, parallel builds in Continuous Integration or locally, by just setting the variable before launching Conan commands.
Read more >A Concurrency Cost Hierarchy - Performance Matters
Concurrent operations can be grouped relatively neatly into categories based ... so we will use a real-world-if-you-squint running example ...
Read more >How to run Travis CI parallel jobs with build matrix feature fast
Travis CI allows you to run multiple concurrent jobs as part of the ... of language and environment dependent set of configuration options....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I confim having ava running tests with Travis in serial mode can fix that kind of issue
Resolved with
I’m also having this issue on CircleCI…
my
node_modules
folder is 331mb, so you wouldn’t need very many of them to trip up the server!