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

Check MANIFEST when PR is created #1183

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Add MANIFEST check to tests

bc5ceec
Select commit
Loading
Failed to load commit list.
Open

Check MANIFEST when PR is created #1183

Add MANIFEST check to tests
bc5ceec
Select commit
Loading
Failed to load commit list.
Travis CI / Travis CI - Pull Request succeeded Aug 27, 2024 in 3m 47s

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 #1183 Check MANIFEST when PR is created.
Any changes that have been made to the develop branch before the build ran are also included.

Jobs and Stages

This build has five jobs, running in parallel.

Stage 1: test

This stage passed.

Job Perl ENV OS State
2288.1 5.38 TARGET=SQLite ZONEMASTER_TRAVIS_TESTING=1 ZONEMASTER_RECORD=0 ZONEMASTER_BACKEND_CONFIG_FILE=./share/travis_sqlite_backend_config.ini Linux passed
2288.2 5.38 TARGET=MySQL ZONEMASTER_TRAVIS_TESTING=1 ZONEMASTER_RECORD=0 ZONEMASTER_BACKEND_CONFIG_FILE=./share/travis_mysql_backend_config.ini Linux passed
2288.3 5.38 TARGET=PostgreSQL ZONEMASTER_TRAVIS_TESTING=1 ZONEMASTER_RECORD=0 ZONEMASTER_BACKEND_CONFIG_FILE=./share/travis_postgresql_backend_config.ini Linux passed
2288.4 5.34 TARGET=SQLite ZONEMASTER_TRAVIS_TESTING=1 ZONEMASTER_RECORD=0 ZONEMASTER_BACKEND_CONFIG_FILE=./share/travis_sqlite_backend_config.ini Linux passed
2288.5 5.26 TARGET=SQLite ZONEMASTER_TRAVIS_TESTING=1 ZONEMASTER_RECORD=0 ZONEMASTER_BACKEND_CONFIG_FILE=./share/travis_sqlite_backend_config.ini Linux passed

Build Configuration

Build Option Setting
Language Perl
Operating System Linux (Focal)
Perl Version 5.38
Build Configuration
{
  "language": "perl",
  "os": [
    "linux"
  ],
  "dist": "focal",
  "perl": [
    "5.38"
  ],
  "stages": [
    {
      "name": "test"
    }
  ],
  "script": [
    "perl Makefile.PL && make test TEST_VERBOSE=1"
  ],
  "jobs": {
    "include": [
      {
        "stage": "test",
        "env": [
          {
            "TARGET": "SQLite",
            "ZONEMASTER_TRAVIS_TESTING": "1",
            "ZONEMASTER_RECORD": "0",
            "ZONEMASTER_BACKEND_CONFIG_FILE": "./share/travis_sqlite_backend_config.ini"
          }
        ]
      },
      {
        "env": [
          {
            "TARGET": "MySQL",
            "ZONEMASTER_TRAVIS_TESTING": "1",
            "ZONEMASTER_RECORD": "0",
            "ZONEMASTER_BACKEND_CONFIG_FILE": "./share/travis_mysql_backend_config.ini"
          }
        ],
        "services": [
          "mysql"
        ]
      },
      {
        "env": [
          {
            "TARGET": "PostgreSQL",
            "ZONEMASTER_TRAVIS_TESTING": "1",
            "ZONEMASTER_RECORD": "0",
            "ZONEMASTER_BACKEND_CONFIG_FILE": "./share/travis_postgresql_backend_config.ini"
          }
        ],
        "dist": "jammy",
        "services": [
          "postgresql"
        ]
      },
      {
        "perl": "5.34",
        "env": [
          {
            "TARGET": "SQLite",
            "ZONEMASTER_TRAVIS_TESTING": "1",
            "ZONEMASTER_RECORD": "0",
            "ZONEMASTER_BACKEND_CONFIG_FILE": "./share/travis_sqlite_backend_config.ini"
          }
        ]
      },
      {
        "perl": "5.26",
        "env": [
          {
            "TARGET": "SQLite",
            "ZONEMASTER_TRAVIS_TESTING": "1",
            "ZONEMASTER_RECORD": "0",
            "ZONEMASTER_BACKEND_CONFIG_FILE": "./share/travis_sqlite_backend_config.ini"
          }
        ]
      }
    ]
  },
  "addons": {
    "apt": {
      "packages": [
        "autoconf",
        "automake",
        "build-essential",
        "cpanminus",
        "libclone-perl",
        "libfile-sharedir-perl",
        "libfile-slurp-perl",
        "libidn2-dev",
        "libintl-perl",
        "libio-socket-inet6-perl",
        "libjson-pp-perl",
        "liblist-moreutils-perl",
        "liblocale-msgfmt-perl",
        "libmail-rfc822-address-perl",
        "libmail-spf-perl",
        "libmodule-find-perl",
        "libnet-ip-xs-perl",
        "libpod-coverage-perl",
        "libreadonly-perl",
        "libreadonly-xs-perl",
        "libssl-dev",
        "libtest-differences-perl",
        "libtest-exception-perl",
        "libtest-fatal-perl",
        "libtest-pod-perl",
        "libtext-csv-perl",
        "libtool",
        "m4",
        "libclass-method-modifiers-perl",
        "libconfig-inifiles-perl",
        "libdbd-sqlite3-perl",
        "libdbi-perl",
        "libfile-sharedir-perl",
        "libfile-slurp-perl",
        "libhtml-parser-perl",
        "libio-captureoutput-perl",
        "libio-stringy-perl",
        "libjson-pp-perl",
        "libjson-rpc-perl",
        "liblog-any-adapter-dispatch-perl",
        "liblog-any-perl",
        "liblog-dispatch-perl",
        "libplack-middleware-debug-perl",
        "libplack-perl",
        "librole-tiny-perl",
        "librouter-simple-perl",
        "libtest-nowarnings-perl",
        "libtry-tiny-perl",
        "postgresql",
        "starman"
      ]
    }
  },
  "before_install": [
    "export PERL5LIB=/usr/share/perl5",
    "eval \"$(curl https://travis-perl.github.io/init)\" --auto",
    "cpan-install Module::Install Module::Install::XSUtil",
    "cpan-install Devel::CheckLib",
    "cpan-install Devel::OverloadInfo Moose",
    "cpan-install Socket6",
    "git clone --depth=1 --branch=$TRAVIS_BRANCH https://github.com/zonemaster/zonemaster-ldns.git",
    "( cd zonemaster-ldns && cpanm --verbose --notest --configure-args=\"--no-ed25519\" . ) && rm -rf zonemaster-ldns",
    "git clone --depth=1 --branch=$TRAVIS_BRANCH https://github.com/zonemaster/zonemaster-engine.git",
    "( cd zonemaster-engine && cpanm --verbose --notest . ) && rm -rf zonemaster-engine",
    "mkdir -p ./lib/auto/share/dist/",
    "ln -s ../../../../share ./lib/auto/share/dist/Zonemaster-Backend",
    "if [[ \"$TARGET\" == \"PostgreSQL\" ]]; then sudo sed -i 's/port = 5433/port = 5432/' /etc/postgresql/14/main/postgresql.conf; fi",
    "if [[ \"$TARGET\" == \"PostgreSQL\" ]]; then sudo pg_ctlcluster 14 main restart; fi"
  ],
  "before_script": [
    "if [[ \"$TARGET\" == \"PostgreSQL\" ]]; then psql -U travis -c \"CREATE USER travis_zonemaster WITH PASSWORD 'travis_zonemaster';\"; fi",
    "if [[ \"$TARGET\" == \"PostgreSQL\" ]]; then psql -U travis -c 'CREATE DATABASE travis_zonemaster OWNER travis_zonemaster;'; fi",
    "if [[ \"$TARGET\" == \"PostgreSQL\" ]]; then cpanm DBD::Pg; fi",
    "if [[ \"$TARGET\" == \"MySQL\" ]]; then mysql -u root -e \"CREATE USER 'travis_zm'@'localhost' IDENTIFIED BY 'travis_zonemaster';\"; fi",
    "if [[ \"$TARGET\" == \"MySQL\" ]]; then mysql -u root -e \"CREATE DATABASE travis_zonemaster CHARACTER SET utf8 COLLATE utf8_bin;\"; fi",
    "if [[ \"$TARGET\" == \"MySQL\" ]]; then mysql -u root -e \"GRANT ALL ON travis_zonemaster.* TO 'travis_zm'@'localhost';\"; fi",
    "if [[ \"$TARGET\" == \"MySQL\" ]]; then cpanm DBD::mysql; fi"
  ]
}