Closed derhasi closed 7 years ago
Hey @derhasi I added us to the Travis-CI.org, our page is https://travis-ci.org/Morning-Train/toggl-api Can you let me know if I set it up correctly? Is there anything I need to change?
Best regards, Ruba
@Rubatharisan, looks like PR-checks are working.
When you enable "Build pushes" in settings you should also have checks for the master branch. The master branch would fail before merging this PR. but try it out, so you can see the CI run fail for master. And after merging the build should pass, like this PR does.
@derhasi How can I enable the checks for master branch? I can't see any options saying "Build master branch" or anything alike? It seems like I only can build pull requests.
Is this something I should enable in .travis.yml? Thank you for helping me out :)
@Rubatharisan it is the "Build pushes" option, so any push to any branch will be tested (unless only specific branches are configured in the travis yml). But it will only take new pushes into account. So master will only build, when you push a new commit to master.
@derhasi ah okay that makes sense! I'll wait till a new commit appears :)
Thank you 👍
Have now reviewed the changes, will now merge this pull request, Thank you @derhasi for the changes!
As follow-up of #2 I also changed the rest of the coding style issues.