forked from gentlero/bitbucket-api
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
35 lines (30 loc) · 941 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
language: php
dist: trusty
sudo: false
php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
matrix:
fast_finish: true
allow_failures:
- php: 5.4
before_script:
- travis_retry composer self-update
- composer --version
- travis_retry composer install --no-interaction --prefer-source
script:
- mkdir -p ./build/logs
- php vendor/bin/phpunit --coverage-clover=./build/logs/coverage.clover
after_script:
- travis_retry wget https://scrutinizer-ci.com/ocular.phar -O ocular.phar
- travis_retry php ocular.phar self-update
- php ocular.phar --version
- travis_retry php ocular.phar code-coverage:upload --repository=b/gentlero/bitbucket-api --format=php-clover ./build/logs/coverage.clover
notifications:
webhooks:
urls:
secure: "Xqj40L7H7t01GvXZWLFGBHJSelhNZeGO107+EyBr3BjGX6iurDUWE1JAAWfEA5+TXE1Nv902t5EaXzc4KnRSwXwNjpVXj3cIOZX/xlQ4bE0rtU5Fzd93aULtshIAfexN99AG6iV4URtIlWYBgwqV7vadMy/UEgBlELLKUQS0GOI="