Closed nicolasiltis closed 6 years ago
The account should be created in travis-ci.com
instead:
https://docs.travis-ci.com/user/open-source-on-travis-ci-com/
@thc202 I changed it in the comment of the MR, thanks 👍
In order to have the green "build passed" markdown in your README you have to change :
[![Build Status](https://travis-ci.org/nicolasiltis/bdd-security.svg?branch=master)](https://travis-ci.org/nicolasiltis/bdd-security)
with :
[![Build Status](https://travis-ci.com/continuumsecurity/bdd-security.svg?branch=master)](https://travis-ci.com/continuumsecurity/bdd-security)
A Continuous Integration for BDD-Security
What, How and Why ?
The goal of this MR is to had a kind of control before accepting the MR of someone. Travis is an online CI for opensource project very weel integrated with Github.
I added a .travis.yml file in which it's said that :
./gradlew buildIt
Create an account and set up the project
Now on your side the only thing you have to do is :
What's done when a MR is open ?
The pipeline on Travis CI will build bdd-security and after that two differents scenarios are possible :
It fails :
Travis CI output on the Dashboard :![travis_fail](https://user-images.githubusercontent.com/17336865/40973772-b68ee378-68c5-11e8-81c0-5fc0d6a832a5.JPG)
Output in the MR :![mergerequest](https://user-images.githubusercontent.com/17336865/40973775-b9199b9c-68c5-11e8-92d0-cdf17a10ee8d.JPG)
It's a succes :
Travis CI output on the Dashboard :
Output in the MR :
![mergerequest_succeed](https://user-images.githubusercontent.com/17336865/40973902-2a9a773c-68c6-11e8-80d3-70b16e58cc24.JPG)