Skip to content

Commit

Permalink
add travis
Browse files Browse the repository at this point in the history
  • Loading branch information
AdolphYu committed Sep 21, 2020
1 parent 3b85f3b commit 8dd6d5a
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
language: php
sudo: false
php:
- 5.6
- 7
- 7.1
install:
- travis_retry composer install --prefer-dist
script:
- vendor/bin/phpunit
after_script:
- travis_retry php vendor/bin/coveralls -v
after_success:
- >-
test $TRAVIS_PULL_REQUEST == "false" && test $TRAVIS_BRANCH == "master" &&
test $TRAVIS_PHP_VERSION = "7.1" && bash ./scripts/api.sh
cache:
directories:
- $HOME/.composer/cache

0 comments on commit 8dd6d5a

Please sign in to comment.