Skip to content
This repository has been archived by the owner on Aug 22, 2023. It is now read-only.

Commit

Permalink
Create .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
leeqvip committed Aug 28, 2019
1 parent 1db67c2 commit 8bddc2e
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
language: php

sudo: false

php:
- 5.6
- 7.0
- 7.1
- 7.2
- 7.3

services:
- mysql

before_install:
- travis_retry composer self-update
- mysql -e 'create database if not exists casbin;'

install:
- travis_retry composer install --prefer-dist --dev --no-suggest --no-interaction

script:
- vendor/bin/phpunit --version
- mkdir -p build/logs
- vendor/bin/phpunit

after_script:
- travis_retry vendor/bin/php-coveralls -v

0 comments on commit 8bddc2e

Please sign in to comment.