Changes between Version 4 and Version 5 of DeveloperGuidelines/Testing/CI


Ignore:
Timestamp:
10/25/14 09:26:52 (7 years ago)
Author:
anirudh.tiwari
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelines/Testing/CI

    v4 v5  
    2323Travis CI builds a pull request when it's first opened and when commits are added to the pull request throughout its lifetime. Rather than test the commits from the branches the pull request is sent from, it tests the merge between the origin and the upstream branch.
    2424
    25 To enable Travis CI for your developer branch. Sign in with your !GitHub account on [https://travis-ci.org/ Travis CI], in the process you'll be asked to grant Travis CI a set of access permissions. Once you are done with it, go to the profile page of your Travis account. There you'll find all your repositories, flip the switch for those repositories for which you want to enable the Travis CI service.
     25=== How to enable Travis CI for your developer branch ===
     26
     27Travis is intended for continuous integration on various databases, it is not recommended for testing during development phase as it would be quite slow and the same can be done on one's local machine. Nonetheless, to enable Travis CI for your developer branch, follow these steps:
     28
     291. Sign in with your !GitHub account on [https://travis-ci.org/ Travis CI].
     302. You'll be asked to grant Travis CI a set of access permissions.
     313. Once you have given access permissions, go to the profile page of your Travis account. There you'll find all your repositories, flip the switch for those repositories for which you want to enable the Travis CI service.
     324. In order for Travis CI to build your project, you'll need to add a file named .travis.yml to the root of your repository(which is already present in the trunk of eden).
     335. To trigger the test, push your commit to your branch. Alternatively, you can go to your !GitHub Webhooks & Services page and use the "Test Hook" button for Travis CI. Please note that you cannot trigger your first build using Test Hook button. It has to be triggered by a push to your repository.