Skip to content

Add Travis Build File #83

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
; This file is for unifying the coding style for different editors and IDEs.
; More information at http://editorconfig.org

; This file is to be considered the "top most" for this project.
root = true

; Unix style newlines and a final newline for all files.
[*]
indent_style = tab
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

; Matches the exact files package.json and .travis.yml
[{package.json,.travis.yml,composer.json,*.yaml,*.yml}]
indent_style = space
indent_size = 2
41 changes: 41 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
language: php

sudo: false

php:
- 5.6
- 7.0
- 7.1

# Environment Variables to set
env:
global:


# Cache the composer directories, only allowed if using the container based setup
# which depends on setting sudo to false
cache:
directories:
- $HOME/.composer/cache

# Branches to be built or not
branches:
# Blacklist these branches
except:
- gh-pages

before_install:
- composer self-update

install:
- composer install --no-interaction

before_script:

script:
- bin/phpunit --version

after_script:

notifications:
email: false