Skip to content

Commit 2d8831d

Browse files
committed
add a config file for Travis CI
1 parent ad0d663 commit 2d8831d

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

.travis.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
sudo: false
2+
3+
language: php
4+
5+
cache:
6+
directories:
7+
- $HOME/.composer/cache/files
8+
9+
php:
10+
- 5.4
11+
- 5.5
12+
- 5.6
13+
- 7.0
14+
- hhvm
15+
16+
matrix:
17+
fast_finish: true
18+
include:
19+
- php: 5.3
20+
env: deps="low"
21+
22+
before_install:
23+
- if [[ "$TRAVIS_PHP_VERSION" != "hhvm" ]]; then phpenv config-rm xdebug.ini; fi
24+
- composer self-update
25+
26+
install:
27+
- if [[ "$deps" = "low" ]]; then composer update --prefer-lowest; else composer install; fi
28+
29+
script:
30+
- php validate.php

0 commit comments

Comments
 (0)