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

Better TravisCI output #287

Merged

Commits on Jun 13, 2018

  1. Single bash script to run suite of tests

    Travis CI should run a single script that runs individual tests - this also
    lets developers run a single script and get easy-to-parse results.
    mnlevy1981 committed Jun 13, 2018
    Configuration menu
    Copy the full SHA
    bd59351 View commit details
    Browse the repository at this point in the history
  2. Update marbl_with_restore.input

    POP now restores ALK and ALK_ALT_CO2, and that is reflected in an example input
    file.
    mnlevy1981 committed Jun 13, 2018
    Configuration menu
    Copy the full SHA
    86c151c View commit details
    Browse the repository at this point in the history
  3. Add "--no_pause" option to the build tests

    The --no_pause option for the build tests (bld_lib.py and bld_exe.py) means
    those scripts run without the "Press [return] to continue..." prompt between
    compilers. This is great for automated testing, and run_test_suite.sh uses this
    new flag.
    
    Also added a "make clean" test and "./bld_lib --no_pause" prior to the
    "./bld_exe --no_pause" test.
    mnlevy1981 committed Jun 13, 2018
    Configuration menu
    Copy the full SHA
    c99dbc6 View commit details
    Browse the repository at this point in the history
  4. Add sphinx build to travisCI

    Expect test failures since sphinx is not being loaded into Travis environment
    mnlevy1981 committed Jun 13, 2018
    Configuration menu
    Copy the full SHA
    70871b7 View commit details
    Browse the repository at this point in the history
  5. Add sphinx packages to travis env via pip

    Need sphinx, sphinx_rtd_theme (specifically 0.2.5b1, since that's what we are
    currently using), and sphinxcontrib-bibtex
    mnlevy1981 committed Jun 13, 2018
    Configuration menu
    Copy the full SHA
    5f685ba View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2018

  1. sphinx-requirements.txt -> py_requirements.txt

    Also updated .travis.yml to pip install -r docs/py_requirements.txt and updated
    run_test_suite.sh to only run Fortran tests if the executable builds correctly.
    mnlevy1981 committed Jun 14, 2018
    Configuration menu
    Copy the full SHA
    d2bfa5a View commit details
    Browse the repository at this point in the history
  2. Python returns non-zero code on error

    If bld_lib.py or bld_exe.py fails, then marbl_testing_class.py returns a status
    of 1. (Similarly, if one of the stand-alone tests fail, the python returns 1).
    mnlevy1981 committed Jun 14, 2018
    Configuration menu
    Copy the full SHA
    3e35491 View commit details
    Browse the repository at this point in the history