Skip to content

Commit fc8d99c

Browse files
committed
Add base travis file to run tests.
1 parent 18eb33a commit fc8d99c

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.travis.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
language: php
2+
3+
env:
4+
- PREFER_LOWEST="--prefer-lowest"
5+
- PREFER_LOWEST=""
6+
7+
php:
8+
- 5.4
9+
- 5.5
10+
11+
before_script:
12+
- composer dump-autoload
13+
- composer self-update
14+
- composer update --prefer-source $PREFER_LOWEST
15+
16+
script: bin/phpunit
17+
18+
19+
# Use Travis' new container-based infrastructure.
20+
# See http://docs.travis-ci.com/user/migrating-from-legacy/#How-can-I-use-container-based-infrastructure%3F
21+
sudo: false

0 commit comments

Comments
 (0)