-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.travis.yml
More file actions
34 lines (27 loc) · 759 Bytes
/
.travis.yml
File metadata and controls
34 lines (27 loc) · 759 Bytes
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
language: php
notifications:
email:
on_success: never
git:
depth: 2
matrix:
include:
- php: 7.1
- php: 7.2
fast_finish: true
cache:
directories:
- $HOME/.composer/cache
before_script:
- travis_retry composer self-update
- travis_retry composer global require hirak/prestissimo # Rapid composer installation
- travis_retry composer install --no-interaction
- >
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter &&
chmod +x ./cc-test-reporter &&
./cc-test-reporter before-build
script:
- composer format-preview
- composer test-in-ci
after_script:
- ./cc-test-reporter after-build --coverage-input-type clover --exit-code $TRAVIS_TEST_RESULT