Push event #5 passed

  • Ran for
  • Total time
deep-web-solutions/wordpress-framework-utilities:.travis.yml@25656d1
sudo: false

language: php

notifications:
  email:
    on_success: never
    on_failure: change

php:
  - '7.4'

matrix:
  fast_finish: true
  include:
    - php: '7.4'
      env: SNIFF=1

before_script:
  - composer self-update
  - composer install --prefer-source --no-interaction

script:
  # Search for PHP syntax errors.
  - find -L $TRAVIS_BUILD_DIR -path $TRAVIS_BUILD_DIR/vendor -prune -o -name '*.php' -print0 | xargs -0 -n 1 -P 4 php -l
  # Run PHPCS.
  - if [[ "$SNIFF" == "1" ]]; then vendor/bin/phpcs $TRAVIS_BUILD_DIR ; fi
Build Config
{
  "os": [
    "linux"
  ],
  "rvm": [
    "2.3.6",
    "2.4.4",
    "2.5.1"
  ],
  "dist": "trusty",
  "sudo": false,
  "matrix": {
    "include": [
      {
        "stage": "redeploy-app",
        "deploy": [
          {
            "app": "gem-rails-ohmy",
            "api_key": "$HEROKU_AUTH_TOKEN",
            "provider": "heroku",
            "strategy": "api"
          }
        ],
        "script": [
          "skip"
        ]
      }
    ]
  },
  "install": [
    "bundle install --retry=3"
  ],
  "language": "ruby",
  "before_install": [
    "gem update --system",
    "gem install bundler"
  ]
}