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: W15Gh22S2JAB7/irYgPIT6ZtRkdbGWnyGADmjijdl2/7bgKVwdMeB/GsvEdsyBhdrGPM5cwumzkYBz9fWUm2xVsfTNsteCwP3ge5CsQbFIZTHgrt7UQPypWcF+WWOm1iAN9He0rhJiphW4WR4/hlChn5CmrT/yqju/72EtWWGyc=
- # 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
|