-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy path.travis.yml
More file actions
40 lines (33 loc) · 713 Bytes
/
.travis.yml
File metadata and controls
40 lines (33 loc) · 713 Bytes
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
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- nightly
- hhvm
env:
global:
- PATH="$HOME/.composer/vendor/bin:$PATH"
matrix:
fast_finish: true
include:
- php: 5.6
env: CS_FIXER=run
- php: 5.3
env: COMPOSER_FLAGS="--prefer-lowest"
allow_failures:
- php: nightly
sudo: false
cache:
directories:
- $HOME/.composer/cache
before_script:
- composer selfupdate
- composer config -g github-oauth.github.com $GITHUB_OAUTH_TOKEN
- composer global require phpunit/phpunit fabpot/php-cs-fixer --no-update
- composer global update --prefer-dist --no-interaction
- composer update --prefer-dist --no-interaction $COMPOSER_FLAGS
script:
- make test