Skip to content

Commit

Permalink
add new .travis.yml for linter
Browse files Browse the repository at this point in the history
  • Loading branch information
John Hutcheson committed Jul 21, 2018
1 parent 87f113e commit 4f29e86
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .travis.yml
@@ -1,10 +1,16 @@
sudo: required
dist: trusty
language: php
php:
- '5.6'
- '7.0'
before-script:
- composer install
- composer update
script: composer update && ./vendor/bin/phpunit --bootstrap vendor/autoload.php tests/
script:
- composer update && ./vendor/bin/phpunit --bootstrap vendor/autoload.php tests/
- if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then git clone https://github.com/Jhut89/Mailchimp-API-3.0-PHP-travis.git travis; fi
- if [ "$TRAVIS_PULL_REQUEST" != "false" ] && [ ! -d "./travis" ]; then exit 1; fi
- if [ -d "./travis" ]; then sudo chmod +x ./travis/* && ./travis/build_script.sh; fi
matrix:
fast_finish: true

0 comments on commit 4f29e86

Please sign in to comment.