Skip to content

Commit

Permalink
add simple travis check
Browse files Browse the repository at this point in the history
  • Loading branch information
michield committed Dec 30, 2016
1 parent 8967792 commit ab1b394
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
@@ -1,2 +1,4 @@
node_modules
node_modules/*
vendor
composer.lock
21 changes: 21 additions & 0 deletions .travis.yml
@@ -0,0 +1,21 @@
# Configuration file for running the test suite. Results will be at https://travis-ci.org/phpList/phplist3
# whitelist
language: php
php:
- 7.1
- 7.0
- 5.6
- 5.5
- 5.4
- 5.3

before_script:
- sudo apt-get update > /dev/null
- composer self-update
- composer install --prefer-dist

script:
- vendor/njoannidi/php-lint-bash/phpLint

after_failure:
- echo "Failures detected."
5 changes: 5 additions & 0 deletions composer.json
@@ -0,0 +1,5 @@
{
"require": {
"njoannidi/php-lint-bash": "dev-master"
}
}

0 comments on commit ab1b394

Please sign in to comment.