cpanm/102 Makefile.PL, INSTALL.SKIP, MANIFEST.SKIP and gitignore

Push event #2 passed

  • Ran for
  • Total time
  • New branch build
kiwiroy/ensembl:.travis.yml@fbba429
dist: trusty

language: perl

os:
  - linux

services:
  - mysql

perl:
  - '5.14'
  - '5.26'

env:
  matrix:
  - COVERALLS=true  DB=mysql
  - COVERALLS=false DB=mysql
  - COVERALLS=false DB=sqlite
  global:
  - secure: Ju069PzB8QZG3302emIhyCEEQfVfVsiXy0nGcR6hue+vW9nE82NnOEZHbZIwUCXEjUaZRMVQ31Em70Ky22OrLK4D59bs2ClH21u8URDGD/cn7JNPGWFrgxuaXQKMQrw72doeB0+w1+ShURtqM41vITjinyU3y34RZ1NcbDwYSZI=

sudo: false

addons:
  apt:
    packages:
    - unzip

before_install:
  - git clone --branch master --depth 1 https://github.com/Ensembl/ensembl-test.git
  - git clone --branch master --depth 1 https://github.com/Ensembl/ensembl-io.git
  - git clone --branch master --depth 1 https://github.com/Ensembl/ensembl-variation.git
  - git clone --branch master --depth 1 https://github.com/Ensembl/ensembl-compara.git
  - git clone -b release-1-6-924 --depth 1 https://github.com/bioperl/bioperl-live.git

install:
  - cpanm -v --installdeps --notest . --with-all-features
  - cpanm -n Devel::Cover::Report::Coveralls
  - cpanm -n DBD::SQLite
  - cp travisci/MultiTestDB.conf.travisci.mysql  modules/t/MultiTestDB.conf.mysql
  - cp travisci/MultiTestDB.conf.travisci.SQLite modules/t/MultiTestDB.conf.SQLite
  - cp travisci/testdb.conf.travisci.mysql  testdb.conf.mysql
  - cp travisci/testdb.conf.travisci.SQLite testdb.conf.SQLite
  - mysql -u root -h localhost -e 'GRANT ALL PRIVILEGES ON *.* TO "travis"@"%"'

before_script:
  - rm -f "$HOME/.ensemblapi_no_version_check"

script: "./travisci/harness.sh"

jobs:
  include:
  - stage: trigger_dependent_builds
    script: "./travisci/trigger-dependent-build.sh"

matrix:
  exclude:
  - perl: '5.14'
    env: COVERALLS=false DB=mysql
  - perl: '5.14'
    env: COVERALLS=true  DB=mysql
  - perl: '5.26'
    env: COVERALLS=false DB=sqlite
  - perl: '5.26'
    env: COVERALLS=false DB=mysql

notifications:
  email:
    on_failure: change
  slack:
    rooms:
      secure: AbIJIPtituqEBGPKO47+Mp+KdFFocT5xJ0oXa1yOFROQz9m03uJPWpMdQ6qol7ftTNLQQChhq8Bek+OJvgZPzvwfsOjgcMrgycaLHsXpqb1S+JRYRHvqQqv0MHFtFLCxnM+R43BdUak8GJmp+lzY96higiLO0ffhu/ovrqmf2VM=
    on_failure: change
Build Config
{
  "language": "perl",
  "os": [
    "linux"
  ],
  "dist": "trusty",
  "services": [
    "mysql"
  ],
  "perl": [
    "5.14",
    "5.26"
  ],
  "env": {
    "global": [
      {
        "secure": "Ju069PzB8QZG3302emIhyCEEQfVfVsiXy0nGcR6hue+vW9nE82NnOEZHbZIwUCXEjUaZRMVQ31Em70Ky22OrLK4D59bs2ClH21u8URDGD/cn7JNPGWFrgxuaXQKMQrw72doeB0+w1+ShURtqM41vITjinyU3y34RZ1NcbDwYSZI="
      }
    ],
    "jobs": [
      {
        "COVERALLS": "true",
        "DB": "mysql"
      },
      {
        "COVERALLS": "false",
        "DB": "mysql"
      },
      {
        "COVERALLS": "false",
        "DB": "sqlite"
      }
    ]
  },
  "sudo": false,
  "addons": {
    "apt": {
      "packages": [
        "unzip"
      ]
    }
  },
  "before_install": [
    "git clone --branch master --depth 1 https://github.com/Ensembl/ensembl-test.git",
    "git clone --branch master --depth 1 https://github.com/Ensembl/ensembl-io.git",
    "git clone --branch master --depth 1 https://github.com/Ensembl/ensembl-variation.git",
    "git clone --branch master --depth 1 https://github.com/Ensembl/ensembl-compara.git",
    "git clone -b release-1-6-924 --depth 1 https://github.com/bioperl/bioperl-live.git"
  ],
  "install": [
    "cpanm -v --installdeps --notest . --with-all-features",
    "cpanm -n Devel::Cover::Report::Coveralls",
    "cpanm -n DBD::SQLite",
    "cp travisci/MultiTestDB.conf.travisci.mysql  modules/t/MultiTestDB.conf.mysql",
    "cp travisci/MultiTestDB.conf.travisci.SQLite modules/t/MultiTestDB.conf.SQLite",
    "cp travisci/testdb.conf.travisci.mysql  testdb.conf.mysql",
    "cp travisci/testdb.conf.travisci.SQLite testdb.conf.SQLite",
    "mysql -u root -h localhost -e 'GRANT ALL PRIVILEGES ON *.* TO \"travis\"@\"%\"'"
  ],
  "before_script": [
    "rm -f \"$HOME/.ensemblapi_no_version_check\""
  ],
  "script": [
    "./travisci/harness.sh"
  ],
  "jobs": {
    "exclude": [
      {
        "perl": "5.14",
        "env": [
          {
            "COVERALLS": "false",
            "DB": "mysql"
          }
        ]
      },
      {
        "perl": "5.14",
        "env": [
          {
            "COVERALLS": "true",
            "DB": "mysql"
          }
        ]
      },
      {
        "perl": "5.26",
        "env": [
          {
            "COVERALLS": "false",
            "DB": "sqlite"
          }
        ]
      },
      {
        "perl": "5.26",
        "env": [
          {
            "COVERALLS": "false",
            "DB": "mysql"
          }
        ]
      }
    ]
  },
  "notifications": {
    "email": [
      {
        "on_failure": "change"
      }
    ],
    "slack": [
      {
        "rooms": [
          {
            "secure": "AbIJIPtituqEBGPKO47+Mp+KdFFocT5xJ0oXa1yOFROQz9m03uJPWpMdQ6qol7ftTNLQQChhq8Bek+OJvgZPzvwfsOjgcMrgycaLHsXpqb1S+JRYRHvqQqv0MHFtFLCxnM+R43BdUak8GJmp+lzY96higiLO0ffhu/ovrqmf2VM="
          }
        ],
        "on_failure": "change"
      }
    ]
  }
}