-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
36 lines (28 loc) · 1.42 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
language: php
php:
- 7.0
- 7.1
- 7.2
- 7.3
env:
global:
# YT_TOKEN
- secure Z6fH2sxCrNNjCnkQ0+4PLfMjFdGmVK7YsvpWsBkppOXQsCeVGMdMuJ/IcIzalFFf+SmRZbiiL7NUcjY8IIdGXCSJhrJY8zzF0oqmSzfWdgbuCQ7sCKlr9S2s5hn18w2tKAALJeSVefTN5PpXoCtTHDx25DQJyMtzsw8sPAHCYRv7l+zhUBDLsFb0DBZUcdEwqmKBJ2EqnVbWEuHQQeFU8K596VZrq5ddYBTN9UBbtCqpCNs1oWoVnDX+5iqzYUIPbTktSwcFKmZCM9qFjJ+dU94lZp33NcSTzb6HRIV7ZnnJo5P2SAFdKGll3KGQXvBBxI9ImauzES89/iawzrWeU7ud+7AsSrBK/vn6s0bmHYANsOCknuJbzJpaqmEQ91Qzg1dEbTkpudMObpXwAiRpzOpZUmIFkqs7mgtDpKDSmKNlt8mlOmLc0c1mTuxHckztCWbR0lHDB1AY+biBFYQn2rWtec+CWMLiuX2BEkY2go1A4dwom+c9WSJLlir6L+pS9YZezYvIqegB8P1BBqRaBloN4U3M1keslQh2zf3fQ2hwvG0bMp22jm0AsLz56qSqF0F8vJ4lq1q82VUv+ha8EuczaFUC01MI8+Rqs71IR3vuYeOaEx6zMBGqdpkl7/ydEkUCy7vtgSLBBS62s9k3fu/4MiARJK525Lfiw0gqSv4=
before_install:
- echo "extension=php_curl.so" >> tests/php.ini
- echo "extension=php_json.so" >> tests/php.ini
- echo "YT_TOKEN=${YT_TOKEN}" >> tests/php.ini
matrix:
allow_failures:
- php: 7.0
- php: 7.3
install:
- composer create-project galek/coding-standard temp/coding-standard
script:
- vendor/bin/tester -p php-cgi tests
- vendor/bin/phpstan analyse -l max ./src/
- temp/coding-standard/ecs check src tests --config temp/coding-standard/coding-standard-php71.yml
after_failure:
- for i in $(find ./tests -name \*.actual); do echo "--- $i"; cat $i; echo; echo; done
before_script:
- travis_retry composer update --no-interaction