Skip to content

Commit

Permalink
Set up Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
pamil committed Dec 12, 2016
1 parent 9d015d7 commit 87ed26c
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitattributes
@@ -0,0 +1,3 @@
/.gitattributes export-ignore
/.gitignore export-ignore
/.travis.yml export-ignore
34 changes: 34 additions & 0 deletions .travis.yml
@@ -0,0 +1,34 @@
language: php

php:
- 7.1
- 7.0
- 5.6

env:
global:
- COMPOSER_OPTIONS=""

matrix:
include:
- php: 5.6
env: COMPOSER_OPTIONS="--prefer-lowest"
- php: nightly
allow_failures:
- php: nightly
fast_finish: true

cache:
directories:
- vendor

before_install:
- phpenv config-rm xdebug.ini || true

- composer self-update

install:
- composer update --prefer-dist $COMPOSER_OPTIONS

script:
- composer validate --strict

0 comments on commit 87ed26c

Please sign in to comment.