forked from felixfbecker/php-advanced-json-rpc
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
56 lines (46 loc) · 908 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# TravisCI configuration for felixfbecker/php-advanced-json-rpc
branches:
except:
- /^v\d+\.\d+\.\d+$/
language: php
os:
- "linux"
dist: "xenial"
php:
- "7.1"
- "7.2"
- "7.3"
- "7.4"
- "8.0"
- nightly
stages:
- name: test
- name: release
if: branch = master AND type = push AND fork = false
jobs:
fast_finish: true
include:
- stage: release
language: node_js
node_js: "8"
install:
- npm ci
script:
- npm run semantic-release
after_success: skip
allow_failures:
- stage: test
php: nightly
env:
global:
- FORCE_COLOR=1
cache:
npm: true
directories:
- $HOME/.composer/cache
install:
- composer install --prefer-dist
script:
- vendor/bin/phpunit --coverage-clover=coverage.xml --whitelist lib --bootstrap vendor/autoload.php tests
after_success:
- bash <(curl -s https://codecov.io/bash)