https://github.com/fprochazka/travis-local-build
Tool for running all the Travis-CI build jobs locally using Docker
https://github.com/fprochazka/travis-local-build
automation build ci continuous-integration docker local testing travis-ci
Last synced: about 1 month ago
JSON representation
Tool for running all the Travis-CI build jobs locally using Docker
- Host: GitHub
- URL: https://github.com/fprochazka/travis-local-build
- Owner: fprochazka
- Created: 2017-05-11T21:16:14.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-03-21T18:14:15.000Z (about 6 years ago)
- Last Synced: 2025-03-17T14:22:04.438Z (about 2 months ago)
- Topics: automation, build, ci, continuous-integration, docker, local, testing, travis-ci
- Language: PHP
- Homepage:
- Size: 11 MB
- Stars: 17
- Watchers: 5
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Travis-CI local build
[](https://travis-ci.org/fprochazka/travis-local-build)
This tool
1. computes jobs the Travis-CI would run
2. generates docker image (that can be customized) for each job
3. runs each jobWhat 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 timeThis 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