Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow setting os, dist, and language keys and defaults for them #62

Open
wants to merge 16 commits into
base: master
Choose a base branch
from

Commits on Sep 5, 2017

  1. Save the Travis configuration for use in the builders

    Save the Travis configuration so the builders can get options that are
    to be added. The defaults matrix will have the option to be overriden
    but it needs to be overriden somewhere and that needs to be available
    when triggering jobs.
    Sean Kelly committed Sep 5, 2017
    Configuration menu
    Copy the full SHA
    49b5ea2 View commit details
    Browse the repository at this point in the history
  2. Pass the Travis configuration to TravisYml

    TravisYml needs to have the configuration so it can override its
    defaults when parsing the .travis.yml file.
    Sean Kelly committed Sep 5, 2017
    Configuration menu
    Copy the full SHA
    1119ed9 View commit details
    Browse the repository at this point in the history
  3. Set a default matrix to use and allow overriding

    The default matrix lists all of the options for the thing that is being
    built. The default os and dist match what Travis-CI does, with os set to
    "linux" and dist set to "precise".
    
    The default matrix also sets the keys to search for in the .travis.yml
    file to expand the build matrix. Each language has different keys about
    what versions to use. Many use only one, the name of the language, but
    others have a differently named key or have multiple keys. Support the
    common, simple case by allowing a language to point to a list or tuple
    to list the versions to run by default.
    Sean Kelly committed Sep 5, 2017
    Configuration menu
    Copy the full SHA
    8c480f8 View commit details
    Browse the repository at this point in the history
  4. Update tests to match default matrix

    Sean Kelly committed Sep 5, 2017
    Configuration menu
    Copy the full SHA
    3c8813d View commit details
    Browse the repository at this point in the history
  5. Factor out creating build matrix into own method

    Sean Kelly committed Sep 5, 2017
    Configuration menu
    Copy the full SHA
    490e9fb View commit details
    Browse the repository at this point in the history
  6. Test build matrix construction

    Sean Kelly committed Sep 5, 2017
    Configuration menu
    Copy the full SHA
    bc31ca2 View commit details
    Browse the repository at this point in the history
  7. Test language with one differently named option

    Sean Kelly committed Sep 5, 2017
    Configuration menu
    Copy the full SHA
    1976ddb View commit details
    Browse the repository at this point in the history
  8. Test multiple versions with the keys don't match

    Sean Kelly committed Sep 5, 2017
    Configuration menu
    Copy the full SHA
    c96230d View commit details
    Browse the repository at this point in the history
  9. Test language with multiple keys defining the matrix

    Sean Kelly committed Sep 5, 2017
    Configuration menu
    Copy the full SHA
    895dd6e View commit details
    Browse the repository at this point in the history
  10. Ensure all values are a dict or list/tuple

    Sean Kelly committed Sep 5, 2017
    Configuration menu
    Copy the full SHA
    cbb0fa8 View commit details
    Browse the repository at this point in the history
  11. Enumerate the os and dist options with the build matrix

    Expand the overall matrix to build with the given os and dist options
    from the config.
    Sean Kelly committed Sep 5, 2017
    Configuration menu
    Copy the full SHA
    d0c74c0 View commit details
    Browse the repository at this point in the history
  12. Test _os_matrix method

    Sean Kelly committed Sep 5, 2017
    Configuration menu
    Copy the full SHA
    42d0773 View commit details
    Browse the repository at this point in the history
  13. Add os and dist to every test

    Now everything testing the matrix needs the os and dist keys set.
    Sean Kelly committed Sep 5, 2017
    Configuration menu
    Copy the full SHA
    5b71972 View commit details
    Browse the repository at this point in the history
  14. Include the language in the properties

    Sean Kelly committed Sep 5, 2017
    Configuration menu
    Copy the full SHA
    69df204 View commit details
    Browse the repository at this point in the history
  15. Add language to the tests

    Sean Kelly committed Sep 5, 2017
    Configuration menu
    Copy the full SHA
    e84ee40 View commit details
    Browse the repository at this point in the history
  16. Add documentation to the README

    Sean Kelly committed Sep 5, 2017
    Configuration menu
    Copy the full SHA
    1faa09a View commit details
    Browse the repository at this point in the history