-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
39 lines (32 loc) · 892 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
33
34
35
36
37
38
39
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
- 7
matrix:
fast_finish: true
allow_failures:
- php: 5.3
- php: 7
before_install:
- composer self-update
- /bin/bash composer.sh
- gem --version
- gem update
before_script:
- gem install mailcatcher
- mkdir -p resources/logs resources/tmp
script:
- phpunit
addons:
code_climate:
repo_token:
secure: "Cw8PcwP/1vC0OwHCoXMKh+wSOMzvOZKjgP0w1UbJtZ6SsRZnqilEhPdqbxS04W9BRwuiMAuMQ6wtvUKPkRJA6w9bNaSPfL4kpwz12Q16WIIL3GlH0M7XUrRktStYmtrEPlmRmTWgUWTF8e2g/YCi6HiNyesKNJvLFXZpH4K0zL8="
after_script:
- php vendor/bin/coveralls -v
- php 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 v1.0.1-dev)" https://codeclimate.com/test_reports'
- cat resources/logs/*