Skip to content
Nathan DAMIE edited this page Aug 11, 2017 · 4 revisions

Build Status

Travis and Github

When a new Pull Request is created, Travis-CI will automatically :

  • Build the app (iso prod configuration)
  • Launch all unit test
  • Start a "fake" back-office
  • Open a connection to SauceLab in order to Launch all e2e test in a windows7 environment with Firefox 54

And give a feedback in github if somethings wrong. In any case of failure the Pull Request will not be mergeable until the developer fix it.

How To

REQUIREMENTS

  • Travis account (actual : Benoît Werquin github's account)
  • Open SauceLab account (actual : Benoît Werquin gmail account)

Configuration :

Active Travis-CI repository

Connect to Travis account

  • Go to 'Organisations' -> 'InseeFr'
  • Flick the repository switch on 'InseeFr/Pogues'
  • Add .travis.yml file to your repository

Configure SauceLab Access

  • Go to 'InseeFr/Pogues' travis's repositiry -> 'More options' -> 'Settings'
  • Add 'Environment Variables'
  • key : 'SAUCE_USERNAME', value: '[SauceLab account's login]'
  • key : 'SAUCE_ACCESS_KEY', value: '[SauceLab account's Access Key ('My Account' -> 'Access Key') ]'

Launch Process

Create a Pull Request :)