We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2d58679 + a3b9b3e commit 09e93c6Copy full SHA for 09e93c6
.travis.yml
@@ -39,14 +39,14 @@ install:
39
40
before_script:
41
- mysql -u root -e 'create database telegrambot; use telegrambot; source ./vendor/longman/telegram-bot/structure.sql;'
42
+ - if [[ "$COVERAGE" == "1" ]] && [[ "$TRAVIS_PULL_REQUEST" == "false" ]]; then CODECOV="1"; fi
43
44
script:
45
- composer check-code
- - if [[ "$COVERAGE" == "1" ]] ; then composer test-cov-live; fi
46
- - if [[ "$COVERAGE" != "1" ]] ; then composer test; fi
+ - if [[ "$CODECOV" == "1" ]]; then composer test-cov-live; else composer test; fi
47
48
after_success:
49
- - if [[ "$COVERAGE" == "1" ]]; then composer test-cov-upload; fi
+ - if [[ "$CODECOV" == "1" ]]; then composer test-cov-upload; fi
50
51
env:
52
global:
0 commit comments