AMD64
PHP: 7.0
Git
sudo: required

language: php

notifications:
  email: false

php:
  - '7.0'

services:
  - mysql

# disable the default submodule logic
git:
  submodules: false

env:
  global:
    - WP_VERSION="latest"
    - WP_ROOT_FOLDER="/tmp/wordpress"
    - WP_URL="http://tribe.localhost"
    - WP_DOMAIN="tribe.localhost"
    - WP_TABLE_PREFIX="wp_"
    - DB_NAME="wp"
    - TEST_DB_NAME="test"
    - WP_ADMIN_USERNAME="admin"
    - WP_ADMIN_PASSWORD="password"

before_install:
  # tweak git to correctly work with submodules
  - sed -i 's/git@github.com:/git:\/\/github.com\//' .gitmodules
  - git submodule update --init --recursive

install: true


script: true
.travis.yml
null
Build Config
{
  "env": {
    "global": [
      "WP_VERSION=\"latest\"",
      "WP_ROOT_FOLDER=\"/tmp/wordpress\"",
      "WP_URL=\"http://tribe.localhost\"",
      "WP_DOMAIN=\"tribe.localhost\"",
      "WP_TABLE_PREFIX=\"wp_\"",
      "DB_NAME=\"wp\"",
      "TEST_DB_NAME=\"test\"",
      "WP_ADMIN_USERNAME=\"admin\"",
      "WP_ADMIN_PASSWORD=\"password\""
    ]
  },
  "git": {
    "submodules": false
  },
  "php": [
    "7.0"
  ],
  "sudo": "required",
  "script": true,
  "install": true,
  "language": "php",
  "services": [
    "mysql"
  ],
  "notifications": {
    "email": false
  },
  "before_install": [
    "sed -i 's/git@github.com:/git:\\/\\/github.com\\//' .gitmodules",
    "git submodule update --init --recursive"
  ]
}