Skip to content
This repository has been archived by the owner on Mar 29, 2021. It is now read-only.

Commit

Permalink
Format travisci as jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
hxtree committed Jan 9, 2021
1 parent 524875a commit 6f179d7
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,18 @@ php:
- 7.3
- 7.4

before_script:
- composer update
- composer install
cache:
directories:
- $HOME/.composer/cache

script:
- mkdir -p build/logs
- phpunit --coverage-clover build/logs/clover.xml

after_script:
- bash <(curl -s https://codecov.io/bash)
jobs:
include:
- stage: Test
install:
- composer install
script:
- vendor/bin/phpunit
- mkdir -p build/logs
- phpunit --coverage-clover build/logs/clover.xml
after_script:
- bash <(curl -s https://codecov.io/bash)

0 comments on commit 6f179d7

Please sign in to comment.