Skip to content

Commit

Permalink
+ Added Travis CI integration
Browse files Browse the repository at this point in the history
  • Loading branch information
tylernathanreed committed Sep 25, 2020
1 parent 0075522 commit ab71766
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .travis.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
language: php

env:
global:
- SETUP=stable

matrix:
fast_finish: true
include:
- php: 7.2
- php: 7.2
env: SETUP=lowest
- php: 7.3
- php: 7.3
env: SETUP=lowest

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

before_install:
- phpenv config-rm xdebug.ini || true
- travis_retry composer self-update

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

script: vendor/bin/phpunit

0 comments on commit ab71766

Please sign in to comment.