https://github.com/dingo/api
Raw File
Tip revision: f12bce2e2237437ef37a1967eb40e65d9cb0eb29 authored by Max on 13 March 2020, 13:18:33 UTC
Merge pull request #1723 from dingo/feature/laravel-7
Tip revision: f12bce2
.travis.yml
language: php

sudo: false
dist: trusty

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

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

matrix:
  include:
    - php: 7.2
      env: xdebug=false
    - php: 7.3
      env: xdebug=false
    - php: 7.4
      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