Skip to content

Commit

Permalink
👷 Add .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
DrWh0286 committed Nov 28, 2019
1 parent 64ed2ef commit 9e3a6c0
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
language: php
dist: trusty
sudo: false

git:
depth: 5

php:
- 7.2
- 7.3
- nightly

env:
matrix:
- dependencies=lowest
- dependencies=highest

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

matrix:
fast_finish: true
allow_failures:
- php: nightly

install:
- if [ -z "$dependencies" ]; then composer install --no-progress --no-scripts --no-suggest -n; fi;
- if [ "$dependencies" = "lowest" ]; then composer update --no-progress --no-scripts --no-suggest -n --prefer-lowest; fi;
- if [ "$dependencies" = "highest" ]; then composer update --no-progress --no-scripts --no-suggest -n; fi;

script:
- ./.Build/bin/grumphp run
- ./.Build/bin/phpunit

#after_success:
# - bash <(curl -s https://codecov.io/bash) -t b00d641a-6d30-4092-85b6-200f4226a852

0 comments on commit 9e3a6c0

Please sign in to comment.