iriusrisk / bdd-security

BDD Automated Security Tests for Web Applications
http://www.continuumsecurity.net/bdd-intro.html
GNU Affero General Public License v3.0
559 stars 177 forks source link

Add an opensource CI with Travis CI #94

Closed nicolasiltis closed 6 years ago

nicolasiltis commented 6 years ago

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 :

Create an account and set up the project

Now on your side the only thing you have to do is :

settings_1

settings_2

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 :

Output in the MR : mergerequest

thc202 commented 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/

nicolasiltis commented 6 years ago

@thc202 I changed it in the comment of the MR, thanks 👍

nicolasiltis commented 6 years ago

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) Build Status

with :

[![Build Status](https://travis-ci.com/continuumsecurity/bdd-security.svg?branch=master)](https://travis-ci.com/continuumsecurity/bdd-security) Build Status