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

Add new script to check Compara FTP dumps #883

Open
wants to merge 2 commits into
base: release/114
Choose a base branch
from

Fix bareword directory handles

279d9fd
Select commit
Loading
Failed to load commit list.
Open

Add new script to check Compara FTP dumps #883

Fix bareword directory handles
279d9fd
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded Feb 5, 2025 in 17m 38s

Build Passed

The build passed, just like the previous build.

Details

This is a pull request build.

It is running a build against the merge commit, after merging #883 Add new script to check Compara FTP dumps.
Any changes that have been made to the release/114 branch before the build ran are also included.

Jobs and Stages

This build has nine jobs, running in parallel.

Job Perl Python ENV OS State
16903.1 Housekeeping (all languages) 5.30 AUTH_TOKEN=[secure] Linux passed
16903.2 SQL unit tests 5.30 AUTH_TOKEN=[secure] Linux passed
16903.3 Perl unit tests on the minimum version 5.26 AUTH_TOKEN=[secure] Linux passed
16903.4 Perl unit tests on the latest version, with code coverage 5.30 AUTH_TOKEN=[secure] Linux passed
16903.5 Perl external unit tests on the latest version, with code coverage 5.30 AUTH_TOKEN=[secure] Linux passed
16903.6 Perl linter 5.30 AUTH_TOKEN=[secure] Linux passed
16903.7 Python unit tests on the minimum version 3.10 AUTH_TOKEN=[secure] Linux passed
16903.8 Python unit tests on the latest version, with code coverage 3.11 AUTH_TOKEN=[secure] Linux passed
16903.9 Python linter 3.10 AUTH_TOKEN=[secure] Linux passed

Build Configuration

Build Option Setting
Language Generic
Operating System Linux (Xenial)
Build Configuration
{
  "language": "generic",
  "os": [
    "linux"
  ],
  "dist": "xenial",
  "env": [
    "global=AUTH_TOKEN=[secure]"
  ],
  "addons": {
    "apt": {
      "packages": [
        "graphviz"
      ]
    }
  },
  "services": [
    "mysql"
  ],
  "cache": {
    "pip": true,
    "directories": [
      "$HOME/deps"
    ]
  },
  "before_install": [
    "cpanm -nq local::lib",
    "eval \"$(perl -Mlocal::lib=${HOME}/deps)\"",
    "export ENSEMBL_BRANCH='release/114'",
    "export SECONDARY_BRANCH='main'",
    "git clone --depth 1 https://github.com/Ensembl/ensembl-git-tools.git",
    "export PATH=$PATH:$PWD/ensembl-git-tools/bin",
    "git-ensembl --clone --branch $ENSEMBL_BRANCH --secondary_branch $SECONDARY_BRANCH --depth 1 ensembl-test",
    "git-ensembl --clone --branch $ENSEMBL_BRANCH --secondary_branch $SECONDARY_BRANCH --depth 1 ensembl-rest",
    "git-ensembl --clone --branch $ENSEMBL_BRANCH --secondary_branch $SECONDARY_BRANCH --depth 1 ensembl-funcgen",
    "git-ensembl --clone --branch $ENSEMBL_BRANCH --secondary_branch $SECONDARY_BRANCH --depth 1 ensembl-variation",
    "git-ensembl --clone --branch $ENSEMBL_BRANCH --secondary_branch $SECONDARY_BRANCH --depth 1 ensembl-io",
    "git-ensembl --clone --branch $ENSEMBL_BRANCH --secondary_branch $SECONDARY_BRANCH --depth 1 ensembl",
    "git-ensembl --clone --branch $ENSEMBL_BRANCH --secondary_branch $SECONDARY_BRANCH --depth 1 ensembl-datacheck",
    "git-ensembl --clone --branch version/2.7.0 --depth 1 ensembl-hive",
    "git-ensembl --clone --branch main --depth 1 ensembl-taxonomy",
    "ln -s . ensembl-compara",
    "git clone --branch v1.6.x --depth 1 https://github.com/bioperl/bioperl-live",
    "git clone --branch release-1-6-9 --depth 1 https://github.com/bioperl/bioperl-run",
    "sed -i '/Bio::DB::HTS/d' ensembl-rest/cpanfile",
    "export ENSEMBL_ROOT_DIR=$PWD",
    "export EHIVE_ROOT_DIR=$PWD/ensembl-hive",
    "export PERL5LIB=$PERL5LIB:$PWD/bioperl-live",
    "export PERL5LIB=$PERL5LIB:$PWD/bioperl-run/lib",
    "export PERL5LIB=$PERL5LIB:$PWD/modules",
    "export PERL5LIB=$PERL5LIB:$PWD/travisci/fake_libs/",
    "export PERL5LIB=$PERL5LIB:$PWD/ensembl/modules",
    "export PERL5LIB=$PERL5LIB:$PWD/ensembl-rest/lib",
    "export PERL5LIB=$PERL5LIB:$PWD/ensembl-hive/modules",
    "export PERL5LIB=$PERL5LIB:$PWD/ensembl-test/modules",
    "export PERL5LIB=$PERL5LIB:$PWD/ensembl-funcgen/modules",
    "export PERL5LIB=$PERL5LIB:$PWD/ensembl-variation/modules",
    "export PERL5LIB=$PERL5LIB:$PWD/ensembl-taxonomy/modules",
    "export PERL5LIB=$PERL5LIB:$PWD/ensembl-io/modules",
    "export PERL5LIB=$PERL5LIB:$PWD/ensembl-datacheck/lib",
    "cp -f travisci/MultiTestDB.conf.travisci  modules/t/MultiTestDB.conf",
    "cp -f ensembl-rest/travisci/MultiTestDB.conf.travisci ensembl-rest/t/MultiTestDB.conf",
    "cp -f ensembl/travisci/MultiTestDB.conf.travisci.mysql  ensembl/modules/t/MultiTestDB.conf",
    "mysql -u root -h localhost -e 'GRANT ALL PRIVILEGES ON *.* TO \"travis\"@\"%\"'"
  ],
  "jobs": {
    "include": [
      {
        "language": "perl",
        "perl": "5.30",
        "name": "Housekeeping (all languages)",
        "install": [
          "sudo apt-get -y install shellcheck",
          "pip install --user yamllint",
          "cpanm --quiet --installdeps --notest --cpanfile ensembl/cpanfile .",
          "cpanm --quiet --installdeps --notest .",
          "yamllint --version",
          "shellcheck --version"
        ],
        "script": [
          "prove -rv ./travisci/all-housekeeping/"
        ]
      },
      {
        "language": "perl",
        "perl": "5.30",
        "name": "SQL unit tests",
        "install": [
          "cpanm --quiet --installdeps --notest --cpanfile ensembl/cpanfile ."
        ],
        "script": [
          "prove -r ./travisci/sql-unittest/"
        ]
      },
      {
        "language": "perl",
        "perl": "5.26",
        "name": "Perl unit tests on the minimum version",
        "env": [
          {
            "COVERAGE": "true"
          }
        ],
        "install": [
          "cpanm --quiet --installdeps --notest --cpanfile ensembl/cpanfile .",
          "cpanm --quiet --installdeps --notest --cpanfile ensembl-hive/cpanfile .",
          "cpanm --quiet --installdeps --notest --cpanfile ensembl-rest/cpanfile .",
          "cpanm --quiet --installdeps --notest .",
          "cpanm --quiet --notest Devel::Cover::Report::Codecov"
        ],
        "script": [
          "./travisci/perl-unittest_harness.sh"
        ]
      },
      {
        "language": "perl",
        "perl": "5.30",
        "name": "Perl unit tests on the latest version, with code coverage",
        "env": [
          {
            "COVERAGE": "true"
          }
        ],
        "install": [
          "cpanm --quiet --installdeps --notest --cpanfile ensembl/cpanfile .",
          "cpanm --quiet --installdeps --notest --cpanfile ensembl-hive/cpanfile .",
          "cpanm --quiet --installdeps --notest --cpanfile ensembl-rest/cpanfile .",
          "cpanm --quiet --installdeps --notest .",
          "cpanm --quiet --notest Devel::Cover::Report::Codecov"
        ],
        "script": [
          "./travisci/perl-unittest_harness.sh"
        ],
        "after_success": [
          "cover --nosummary -report codecov"
        ]
      },
      {
        "language": "perl",
        "perl": "5.30",
        "name": "Perl external unit tests on the latest version, with code coverage",
        "env": [
          {
            "COVERAGE": "true"
          }
        ],
        "install": [
          "cpanm --quiet --installdeps --notest --cpanfile ensembl/cpanfile .",
          "cpanm --quiet --notest [email protected]",
          "cpanm --quiet --installdeps --notest --cpanfile ensembl-rest/cpanfile .",
          "cpanm --quiet --installdeps --notest --cpanfile ensembl-hive/cpanfile .",
          "cpanm --quiet --installdeps --notest .",
          "cpanm --quiet --notest Devel::Cover::Report::Codecov"
        ],
        "script": [
          "./travisci/perl-external_unittest_harness.sh"
        ],
        "after_success": [
          "cover --nosummary -report codecov"
        ]
      },
      {
        "language": "perl",
        "perl": "5.30",
        "name": "Perl linter",
        "install": [
          "cpanm --quiet --installdeps --notest --cpanfile ensembl/cpanfile ."
        ],
        "script": [
          "./travisci/perl-linter_harness.sh"
        ]
      },
      {
        "language": "python",
        "dist": "bionic",
        "python": "3.10",
        "name": "Python unit tests on the minimum version",
        "install": [
          "pip install --upgrade pip",
          "pip install .[test]"
        ],
        "script": [
          "pytest --server=mysql://[email protected]:3306/"
        ]
      },
      {
        "language": "python",
        "dist": "bionic",
        "python": "3.11",
        "name": "Python unit tests on the latest version, with code coverage",
        "install": [
          "pip install --upgrade pip",
          "pip install codecov",
          "pip install .[test]"
        ],
        "script": [
          "pytest --cov=./ --cov-report=term-missing --server=mysql://[email protected]:3306/"
        ],
        "after_success": [
          "codecov"
        ]
      },
      {
        "language": "python",
        "dist": "bionic",
        "python": "3.10",
        "name": "Python linter",
        "install": [
          "pip install --upgrade pip",
          "pip uninstall dataclasses -y",
          "pip install .[test]"
        ],
        "script": [
          "./travisci/python-linter_harness.sh"
        ]
      }
    ]
  },
  "notifications": {
    "email": [
      {
        "on_success": "always",
        "on_failure": "always"
      }
    ]
  }
}