-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
43 lines (36 loc) · 1.2 KB
/
.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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
language: php
php:
- 5.4
- 5.5
- 5.6
- hhvm
matrix:
allow_failures:
- php: hhvm
addons:
apt:
packages:
- python3
before_script:
- travis_retry composer require --no-update satooshi/php-coveralls:dev-master sensiolabs/security-checker:dev-master
- travis_retry composer update --dev --no-interaction
- wget https://github.com/jgm/CommonMark/archive/0.17.tar.gz && tar -xvf 0.17.tar.gz
- chmod a+x bin/commonmark
script:
- mkdir -p build/logs
- vendor/bin/phpunit -c phpunit.xml --coverage-clover build/logs/clover.xml
- php vendor/bin/security-checker security:check composer.lock
- cd CommonMark-0.17 && python3 test/spec_tests.py --program ../bin/commonmark
after_success:
- composer require --no-update composer/composer:*@dev
- composer require kzykhys/markbench:*@dev
- vendor/bin/markbench benchmark --parser=fluxbb/commonmark --profile=blank
- vendor/bin/markbench benchmark --parser=fluxbb/commonmark --profile=default
- vendor/bin/markbench benchmark --parser=fluxbb/commonmark --profile=github-sample
notifications:
webhooks:
urls:
- https://webhooks.gitter.im/e/b85fb5b2dfad0466dee2
on_success: always
on_failure: always
on_start: false