Skip to content

Commit

Permalink
Add Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
pablo-sg-pacheco committed May 17, 2019
1 parent 3bf3d36 commit 467b22a
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
language: php

php:
- 7.0

script:
# Override default Travis script action [phpunit]
- php -l *.php

branches:
only:
# Enable Travis hook on tags (there is regular expression for semver tag)*
- "/\\d\\.\\d\\.\\d/"

# Enable Travis deployment
deploy:
# Use script as a deployment tool
provider: script
script: sh $TRAVIS_BUILD_DIR/travis-deploy.sh
# Restrict deployment only for tags
on:
tags: true

0 comments on commit 467b22a

Please sign in to comment.