Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

81 A Touch More Travis Setup #16

Open
hazartilirot opened this issue Dec 31, 2021 · 0 comments
Open

81 A Touch More Travis Setup #16

hazartilirot opened this issue Dec 31, 2021 · 0 comments

Comments

@hazartilirot
Copy link

hazartilirot commented Dec 31, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant