Skip to main content

Travis CI emulator for local develop environment

Project description

Travis emulator can emulate TravisCi parsing the .travis.yml file in local Linux machine and it is osx/darwin compatible. You can test your application before pushing code to github.com web site.

Travis emulator can creates all the build declared in .travis.yml; all the builds are executed in sequential way. The directory ~/travis_log (see -l switch) keeps the logs of all builds created. Please note that log file is a binary file with escape ANSI screen code. If you want to see the log use one of following command:

travis show

less -R ~/travis_log/<build_name>.log

A travis build executes the following steps:

  • Initialize from local .travis.conf (not in travis-ci.org)

  • Optional install packages apt addons (emulatore makes just the check)

  • Optional install packages cache

  • Set global values env global

  • Execute code before_install

  • Execute matrix initialization, included python version

  • Execute build code install

  • Execute build code before_script

  • Execute build code script

  • Execute build before_cache (only if cache is effective, not emulated)

  • Execute build code after_success (emulated) or after_failure (not emulated)

  • Optional code before_deploy (only if deployment is effective, not emulated)

  • Optional code deploy (not emulated)

  • Optional code after_deploy (only if deployment is effective, not emulated)

  • Execute code after_script (not emulated)

  • Wep from local .travis.conf (not in travis-ci.org)

Read furthermore info read travis-ci phase

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

travis_emulator-1.0.6.tar.gz (33.1 kB view details)

Uploaded Source

File details

Details for the file travis_emulator-1.0.6.tar.gz.

File metadata

  • Download URL: travis_emulator-1.0.6.tar.gz
  • Upload date:
  • Size: 33.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.22.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.10

File hashes

Hashes for travis_emulator-1.0.6.tar.gz
Algorithm Hash digest
SHA256 5550d9eb5b872265dba3d2efa4b3e07bc82e3947128e96c37e04463418472489
MD5 73846d7e96302770a994fa96034a2ee1
BLAKE2b-256 3ade738d20df8660904a49814ca1095dcbd31a1dfe5f1a4a3ca56084ea3f01c2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page