Metadata-Version: 1.1
Name: travis-solo
Version: 0.0.6
Summary: Local Travis build runner
Home-page: https://github.com/jstasiak/travis-solo
Author: Jakub Stasiak
Author-email: jakub@stasiak.at
License: MIT
Description: travis-solo
        ===========
        
        .. image:: https://travis-ci.org/jstasiak/travis-solo.png?branch=master
           :alt: Build status
           :target: https://travis-ci.org/jstasiak/travis-solo
        
        *travis-solo* is local Travis build runner. *travis-solo* is itself written in Python and works with:
        
        * CPython 2.6, 2.7, 3.2, 3.3
        * PyPy 1.9
        
        Supported operating systems:
        
        * GNU/Linux
        * OS X
        
        Usage
        -----
        
        Execute *travis-solo* in directory containing ``.travis.yml`` configuration file. It's return code will be 0 in case of success and non-zero in case of failure.
        
        Available command line parameters:
        
        * ``--overwrite DATA`` - ``DATA`` should be JSON-encoded dictionary which keys will overwrite
          Travis settings. For example if you want to restrict build to Python 2.7 without any
          environmental variables set::
        
              travis-solo --overwrite '{"python": "2.7", "env": ""}'
        
        Example ``.travis.yml`` file::
        
            language: python
            python:
                - "2.7"
            install:
                - sudo this won't be executed anyway
            env:
                - VAR=foo
                - VAR=bar
            matrix:
                include:
                  - python: "2.7"
                    env: VAR=baz
        
            script: echo "VAR is $VAR"
        
        Output::
        
            -> % python travis_solo.py 
        
        
            Build configuration python2.7 (VAR=u'foo') running
            Preparing the environment
            $ virtualenv --distribute --python=python2.7 /Users/aa/projects/travis-solo/.travis-solo/2.7
            Running virtualenv with interpreter /usr/local/bin/python2.7
            New python executable in /Users/aa/projects/travis-solo/.travis-solo/2.7/bin/python
            Installing distribute...........................................................................................................................................................................................................................done.
            Installing pip................done.
            "sudo this won't be executed anyway" ignored because it contains sudo reference
            $ echo "VAR is $VAR"
            VAR is foo
        
        
            Build configuration python2.7 (VAR=u'bar') running
            Preparing the environment
            "sudo this won't be executed anyway" ignored because it contains sudo reference
            $ echo "VAR is $VAR"
            VAR is bar
        
        
            Build configuration python2.7 (VAR=u'baz') running
            Preparing the environment
            "sudo this won't be executed anyway" ignored because it contains sudo reference
            $ echo "VAR is $VAR"
            VAR is baz
        
        
            Build summary:
            python2.7 (VAR=u'foo'): Build succeeded
            python2.7 (VAR=u'bar'): Build succeeded
            python2.7 (VAR=u'baz'): Build succeeded
        
            -> % echo $?
            0
        
        **travis-solo can of course run tests for itself**.
        
        Restrictions
        ------------
        
        First of all you need to remember that your local environment is probably very different than Travis' so all those ``apt-get`` calls may not work as intended.
        
        * The only type of project supported right now is Python.
        * Supported configuration properties:
        
          * ``before_install``
          * ``install``
          * ``before_script``
          * ``script``
          * ``after_script``
          * ``python``
          * ``matrix``
          * ``env``
        * ``travis-solo`` sets the following environmental variables:
        
          * ``TRAVIS=true``
          * ``CI=true``
          * ``TRAVIS_SOLO=true``
          * ``TRAVIS_PYTHON_VERSION=...`` depending on configuration
        * Commands involving ``sudo`` word are silently discarded at the moment
        
        Copyright
        ---------
        
        Copyright (C) 2013 Jakub Stasiak
        
        This source code is licensed under MIT license, see LICENSE file for details.
        
Platform: unix
Platform: linux
Platform: osx
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: POSIX
Classifier: Operating System :: POSIX :: Linux
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Topic :: Software Development :: Testing
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Utilities
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Programming Language :: Python :: Implementation :: PyPy
