Skip to content

Commit 65d9119

Browse files
committed
Add Travis Build File
Test and Verify Install Occurs Correctly for various PHP versions Signed-off-by: Justin Yost <justin@loadsys.com>
1 parent b1358ba commit 65d9119

File tree

1 file changed

+41
-0
lines changed

1 file changed

+41
-0
lines changed

.travis.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
language: php
2+
3+
sudo: false
4+
5+
php:
6+
- 5.6
7+
- 7.0
8+
- 7.1
9+
10+
# Environment Variables to set
11+
env:
12+
global:
13+
14+
15+
# Cache the composer directories, only allowed if using the container based setup
16+
# which depends on setting sudo to false
17+
cache:
18+
directories:
19+
- $HOME/.composer/cache
20+
21+
# Branches to be built or not
22+
branches:
23+
# Blacklist these branches
24+
except:
25+
- gh-pages
26+
27+
before_install:
28+
- composer self-update
29+
30+
install:
31+
- composer install --no-interaction
32+
33+
before_script:
34+
35+
script:
36+
- bin/phpunit --version
37+
38+
after_script:
39+
40+
notifications:
41+
email: false

0 commit comments

Comments
 (0)