https://github.com/dingo/api
Raw File
Tip revision: f0a32f17ff8e6d1ca1dc74233e93220db83191e7 authored by Max on 05 January 2020, 04:20:48 UTC
Merge pull request #1697 from specialtactics/chore/styleci-defaults-changes
Tip revision: f0a32f1
.travis.yml
language: php

sudo: false
dist: trusty

env:
  global:
    - setup=basic
    - xdebug=true

# HHVM is no longer supported on Ubuntu Precise. Please consider using Trusty with `dist: trusty`.
dist: trusty

cache:
  directories:
    - $HOME/.composer/cache

matrix:
  include:
    - php: 7.1
      env: xdebug=false
    - php: 7.2
      env: xdebug=false
    - php: 7.3
      env: xdebug=false

before_install:
  - if [[ $xdebug = 'true' ]] ; then phpenv config-rm xdebug.ini; fi

install:
  - if [[ $setup = 'basic' ]]; then travis_retry composer install --prefer-dist --no-interaction --no-suggest; fi
  - if [[ $setup = 'stable' ]]; then travis_retry composer update --prefer-dist --no-interaction --no-suggest --prefer-stable; fi
  - if [[ $setup = 'lowest' ]]; then travis_retry composer update --prefer-dist --no-interaction --no-suggest --prefer-stable --prefer-lowest; fi

script:
  - vendor/bin/phpunit
back to top