Skip to content

Commit

Permalink
Test build on Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dankempster committed Jan 25, 2017
1 parent ad0e979 commit 50475db
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .travis.yml
@@ -0,0 +1,21 @@
language: php
php:
- 7.0

services:
- docker

install:
- docker build -t php .

script:
- docker run --rm php -v
- docker run --rm php -i | grep "xdebug support => enabled"
# TODO Test for PHP error level
- docker run --rm php -i | grep "error_reporting => 32767"

branches:
only:
- alpine
- /^(latest|fpm)(-alpine)?$/
- /^[0-9.]+(-(latest|fpm))?(-alpine)?$/

0 comments on commit 50475db

Please sign in to comment.