Skip to content

81 A Touch More Travis Setup #16

@hazartilirot

Description

@hazartilirot

Well, I wonder why Stephen doesn't update changes in his courses.

  1. It must be said Travis requires your a banking card credentials.
  2. Travis gives you 10000 points. Running one job costs you around 54 points or 80 points if it counts only those jobs which are passed. I don't know.
  3. Travis assumes all your projects are relevant for an inspection. There is no need to add a project. The difference is if you created a Travis account, it imported all your GitHub's repos and then you create a new one. I had to wait for five minutes to get an update on Travis which is quite long. It will however react on those repos including .travis.yml file.
  4. The main point of my message is you won't get exit code (0) in Travis. It's no longer relevant. Your tests will hang for 10 minutes than Travis will interrupt the process throwing an error.

If you want to get a proper behaviour, try this one

docker run -e CI=true <ContainerName> npm run test -- --coverage

you pass an environment variable to the container so that npm knows you want to exit once it's done.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions