Skip to content

Set concurrency option to 1 when $TRAVIS = true #1060

@diegohaz

Description

@diegohaz

It 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: diegohaz/rest#11

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions