-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.travis.yml
28 lines (22 loc) · 821 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
env:
global:
- CC_TEST_REPORTER_ID=bd05ef1fea94a4d280d53d9db7de305167e25cdb1b5db7f030516f96edbdee74
language: php
php:
- '5.6'
- '7.2'
# - hhvm # dont work with FiltererTest::test_filterer_customizable (and I don't use hhvm)
# - nightly
# Commands to be run before your environment runs.
before_script:
- composer self-update
- composer update --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
# Commands you want to run that will verify your build.
script: ./phpunit --coverage-clover=coverage.xml --testsuite=all_tests
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
after_success:
- bash <(curl -s https://codecov.io/bash)