Skip to content

Tool for running all the Travis-CI build jobs locally using Docker

Notifications You must be signed in to change notification settings

fprochazka/travis-local-build

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Travis-CI local build

Build Status

This tool

  1. computes jobs the Travis-CI would run
  2. generates docker image (that can be customized) for each job
  3. runs each job

What it means:

  • no switching of PHP versions to test your library
  • no forgetting to run a specific job
  • prepare everything locally and verify the build passes without hassle
  • clean testing environment every time

This does not replace a build system (which would be able to run identical tasks on CI and local), but even a build system wouldn't be able to guarantee executing full Travis matrix with all jobs.

Usage

  • clone the project
  • install dependencies using composer
  • build docker images in docker-images/ using docker-compose build
    • Pro-Tip: you can customize them!
  • run the executable bin/travis-local in desired directory

travis-local-build

Releases

No releases published

Packages

No packages published