Skip to content

Commit 0ae4fd1

Browse files
committed
Merge branch 'develop' into feature/smartinterface
2 parents f302c73 + 3cddf7b commit 0ae4fd1

File tree

1 file changed

+17
-13
lines changed

1 file changed

+17
-13
lines changed

.travis.yml

Lines changed: 17 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
sudo: false
2+
13
language: php
24

35
php:
@@ -6,25 +8,27 @@ php:
68
- 7.0
79
- hhvm
810

9-
sudo: false
11+
matrix:
12+
allow_failures:
13+
- php: hhvm
14+
fast_finish: true
15+
16+
notifications:
17+
on_success: never
18+
on_failure: always
19+
20+
git:
21+
depth: 1
1022

1123
before_install:
1224
- composer self-update
1325

1426
install:
1527
- travis_retry composer install --no-interaction
1628

29+
before_script:
30+
- mysql -e 'create database telegrambot; use telegrambot; source structure.sql;'
31+
1732
script:
1833
- vendor/bin/phpunit
19-
- sh -c "if [ '$TRAVIS_PHP_VERSION' != '7.0' ]; then vendor/bin/phpcs --report=full --extensions=php -np --standard=build/phpcs .; fi"
20-
21-
matrix:
22-
allow_failures:
23-
- php: hhvm
24-
- php: 7.0
25-
fast_finish: true
26-
27-
28-
notifications:
29-
on_success: never
30-
on_failure: always
34+
- vendor/bin/phpcs --report=full --extensions=php -np --standard=build/phpcs .

0 commit comments

Comments
 (0)