forked from editorconfig-checker/editorconfig-checker.php
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
28 lines (24 loc) · 806 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
# Required to run your project under the correct environment.
language: php
notifications:
email: false
# Versions of PHP you want your project run with.
php:
- 7.2
- 7.3
# Commands to be run before your environment runs.
before_script:
- composer self-update
- composer install
- 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
# Commands you want to run that will verify your build.
script:
- composer validate --no-check-all --strict
- composer run-script lint
- mkdir -p ./build/logs/
- composer run-script test:coverage
after_success:
- travis_retry php vendor/bin/coveralls -v
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT