-
Notifications
You must be signed in to change notification settings - Fork 16
Travis CI
Nathan DAMIE edited this page Aug 11, 2017
·
4 revisions
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.
- Travis account (actual : Benoît Werquin github's account)
- Open SauceLab account (actual : Benoît Werquin gmail account)
- Go to 'Organisations' -> 'InseeFr'
- Flick the repository switch on 'InseeFr/Pogues'
- Add .travis.yml file to your repository
- 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') ]'
Create a Pull Request :)