Skip to content

Commit 2648862

Browse files
authored
Merge pull request #42 from Sam-Burns/travis
Travis integration
2 parents 9aae8f8 + ee7e7a0 commit 2648862

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed

.travis.yml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
language: php
2+
3+
sudo: false
4+
5+
cache:
6+
directories:
7+
- $HOME/.composer/cache
8+
9+
matrix:
10+
include:
11+
- php: 7.1
12+
env: DEPENDENCIES='low'
13+
- php: 5.6
14+
- php: 7.0
15+
- php: 7.1
16+
- php: nightly
17+
allow_failures:
18+
- php: nightly
19+
fast_finish: true
20+
21+
install:
22+
- if [ "$DEPENDENCIES" != "low" ]; then composer update; fi;
23+
- if [ "$DEPENDENCIES" == "low" ]; then composer update --prefer-lowest; fi;
24+
25+
script:
26+
- ./vendor/bin/phpunit

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
[![Build Status](https://travis-ci.org/BossaConsulting/phpspec2-expect.svg?branch=master)](https://travis-ci.org/BossaConsulting/phpspec2-expect)
2+
13
phpspec2-expect
24
---------------
35

0 commit comments

Comments
 (0)