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

Compatibility with newer Python versions #547

Merged

Compatibility with newer Python versions

aa03b55
Select commit
Loading
Failed to load commit list.
Merged

Compatibility with newer Python versions #547

Compatibility with newer Python versions
aa03b55
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request required action Apr 20, 2024 in 47s

Build Errored

The build errored. This is a change from the previous build, which passed.

Details

This is a pull request build.

It is running a build against the merge commit, after merging #547 Compatibility with newer Python versions.
Any changes that have been made to the master branch before the build ran are also included.

Jobs and Stages

This build only has a single job.
You can use jobs to test against multiple versions of your runtime or dependencies, or to speed up your build.

Build Configuration

Build Option Setting
Language Python
Operating System Linux (Focal)
Python Version 3.8
Build Configuration
{
  "language": "python",
  "os": [
    "linux"
  ],
  "dist": "focal",
  "python": [
    "3.8"
  ],
  "cache": {
    "pip": true
  },
  "env": [
    "global={:DOCKER_REPONAME=>\"lbnlblum\"}={:OMC_VERSION=>\"ubuntu-2204-omc:1.22.0_dev-41-g8a5b18f-1\"}={:OPTIMICA_VERSION=>\"travis-ubuntu-2204-optimica:1.48.2\"}={:DYMOLA_VERSION=>\"travis_ubuntu-2004_dymola:2023x-x86_64_rev-1\"}={:MPLBACKEND=>\"agg\"}"
  ],
  "notifications": {
    "email": [
      {
        "enabled": false
      }
    ]
  },
  "services": [
    "docker",
    "xvfb"
  ],
  "addons": {
    "apt": {
      "packages": [
        "tidy"
      ]
    }
  },
  "before_install": [
    "chmod +x buildingspy/tests/MyModelicaLibrary/Resources/Scripts/travis/bin/omc",
    "sudo cp buildingspy/tests/MyModelicaLibrary/Resources/Scripts/travis/bin/omc /usr/local/bin/",
    "chmod +x buildingspy/tests/MyModelicaLibrary/Resources/Scripts/travis/bin/dymola",
    "cp buildingspy/tests/MyModelicaLibrary/Resources/Scripts/travis/bin/dymola $HOME/bin/",
    "chmod +x buildingspy/tests/MyModelicaLibrary/Resources/Scripts/travis/bin/jm_ipython.sh",
    "sudo cp buildingspy/tests/MyModelicaLibrary/Resources/Scripts/travis/bin/jm_ipython.sh /usr/local/bin/",
    "echo \"$DOCKER_PASSWORD\" | docker login -u \"$DOCKER_USERNAME\" --password-stdin",
    "docker pull \"$DOCKER_REPONAME\"/${OMC_VERSION}",
    "docker pull \"$DOCKER_REPONAME\"/${DYMOLA_VERSION}",
    "docker pull \"$DOCKER_REPONAME\"/${OPTIMICA_VERSION}",
    "python -m pip install --upgrade pip"
  ],
  "install": [
    "pip install -r requirements.txt",
    "pip install .",
    "pip3 install sphinx==4.3.2 \\ sphinx-bootstrap-theme==0.8.0 \\ sphinxcontrib-bibtex==2.4.1 \\ sphinxcontrib-plantuml==0.22 \\ alabaster==0.7.12 \\ MarkupSafe==2.1.5 \\ Pygments==2.4.2 \\ snowballstemmer==1.9.0 \\ docutils==0.17.1 \\ Babel==2.7.0 \\ requests==2.27.0 \\ Jinja2==3.1.3 \\ latexcodec==1.0.7 \\ pybtex==0.24.0 pybtex-docutils==1.0.1 \\ oset==0.1.3 \\ PyYAML==5.4"
  ],
  "script": [
    "omc --version",
    "make pep8 PEP8_CORRECT_CODE=true",
    "make doctest",
    "make unittest_development_error_dictionary",
    "make unittest_development_merger",
    "make unittest_development_refactor",
    "make unittest_development_regressiontest_openmodelica",
    "make unittest_development_regressiontest_optimica",
    "make unittest_development_regressiontest",
    "make unittest_development_Validator",
    "make unittest_examples_dymola",
    "make unittest_io_outputfile",
    "make unittest_io_postprocess",
    "make unittest_simulate_Dymola",
    "make unittest_simulate_Optimica",
    "make unittest_simulate_Simulator",
    "make doc"
  ],
  "after_failure": [
    "for ff in `find . -name '*.log'`; do\n  echo \"*** Content of $ff\"\n  cat $ff\n  echo \"*** End of $ff\"\ndone"
  ]
}