1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950 |
- # PHP project
- language: php
- # which versions of PHP to build with
- php:
- - 5.6
- # set global environment variables
- env:
- global:
- # make PROJECTNAME from vendor/project
- # this strips everything before the last /
- - PROJECTNAME=${TRAVIS_REPO_SLUG##*/}
- # make sure we have the latest version of composer
- before_install:
- - composer self-update
- # install dependencies
- install:
- - composer install
- # no phpunit tests (yet)
- script: true
- # no email notifications
- notifications:
- email: false
- # before deployment make the zipfile to upload
- before_deploy:
- # execute release prepare script
- - sh ./vendor/coldtrick/releases/scripts/travis/before_deploy.sh
- # deployment settings
- deploy:
- provider: releases
- api_key:
- secure: kxN0oi8EIkKZeIhFHeu/wHquSucwnCP0Izwx5HbYF2h55C+4C+Uxiw7T2OT6ncr45qYpw1YWyRyR8FBd799IMkwUk5gg4GXv/8r6vQGvKhfOxo56bAmCZOHI26U1ZzksvCAtqE1h9qTtJFA0c5/4bcxU2wHmrJJq3P6e63Xg8k0=
- # name of the zip to upload
- file: ${PROJECTNAME}_$TRAVIS_TAG.zip
- skip_cleanup: true
- on:
- # only when a tag is created in GitHub
- tags: true
- all_branches: true
- after_deploy:
- # execute release after script
- - sh ./vendor/coldtrick/releases/scripts/travis/after_deploy.sh
|