Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

.travis.yml generator

Project description


$ [sudo] pip install travis-generator


  • travis_generator.Travis generator class
    • .travis.yml keys support
    • python versions from classifiers


class __doc__
travis_generator.Classifiers python classifiers class
travis_generator.Travis .travis.yml generator class


function __doc__
travis_generator.dump(data) dump a dictionary to a YAML document string
travis_generator.load(path='.travis.yml') return a dictonary with .travis.yml data
travis_generator.quote(value) return a double quoted string, path='.travis.yml') save a dictionary to a file



$ python --classifiers
Programming Language :: Python
Programming Language :: Python :: 3.4
Programming Language :: Python :: 3.5
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
import travis_generator
class Travis(travis_generator.Travis):
    install = "curl -fLs<xxx> | bash -s"
    script = "curl -fLs<yyy> | bash -s"

$ cat .travis.yml
language: python
- "3.4"
- "3.5"
- "3.6"
- "3.7"
install: curl -fLs<xxx> | bash -s
script: curl -fLs<yyy> | bash -s

Related projects


Project details

Download files

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

Files for travis-generator, version 2019.4.13
Filename, size File type Python version Upload date Hashes
Filename, size travis-generator-2019.4.13.tar.gz (3.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page