-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
32 lines (25 loc) · 768 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
29
30
31
32
sudo: false
language: php
php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
addons:
code_climate:
repo_token:
secure: "WIyvPYejilSlf+GTGMnOtKeFz01t667INGuaPguWkVm0nkBIYaedXrdnF2o6Hz/Xbji14Hozylh7oBIumC+37bw5/DQtoPHS8/EJ5zKOrOSGsYOciQRRNIhQkAKmNANqmBkM4Tr2EiWZeRcQKtJFtlBSXJ55RFUML+PON0RljbQ="
before_script:
- curl -sS https://getcomposer.org/installer | php
- php composer.phar install --dev --prefer-source --no-interaction
script:
- mkdir -p build/logs
- composer lint
- composer test
after_script:
- vendor/bin/test-reporter --stdout > codeclimate.json
- "curl -X POST -d @codeclimate.json -H 'Content-Type: application/json' -H 'User-Agent: Code Climate (PHP Test Reporter v0.1.1)' https://codeclimate.com/test_reports"
cache:
directories:
- node_modules