2015-10-28 02:20:37 +00:00
|
|
|
language: php
|
|
|
|
php:
|
2015-10-28 11:53:56 +00:00
|
|
|
- 5.3
|
2015-10-28 02:20:37 +00:00
|
|
|
- 5.4
|
2015-10-28 11:53:56 +00:00
|
|
|
- 5.5
|
|
|
|
- 5.6
|
|
|
|
- 7
|
|
|
|
- hhvm
|
|
|
|
- nightly
|
2015-10-28 02:20:37 +00:00
|
|
|
|
|
|
|
script:
|
2015-10-28 11:53:56 +00:00
|
|
|
- find . -type f -name '*.php' -print0 | xargs -0 -I file php -l file > /dev/null
|
|
|
|
|
|
|
|
before_deploy:
|
2015-10-28 02:20:37 +00:00
|
|
|
- composer install
|
2015-11-06 18:13:01 +00:00
|
|
|
- tar -czf "pico-release-$TRAVIS_TAG.tar.gz" .htaccess README.md CHANGELOG.md CONTRIBUTING.md composer.json composer.lock LICENSE config content-sample lib plugins themes vendor index.php
|
2015-10-28 02:20:37 +00:00
|
|
|
|
|
|
|
deploy:
|
|
|
|
provider: releases
|
|
|
|
api_key: ${GITHUB_OAUTH_TOKEN}
|
2015-11-05 20:58:45 +00:00
|
|
|
file: pico-release-$TRAVIS_TAG.tar.gz
|
2015-10-28 02:20:37 +00:00
|
|
|
skip_cleanup: true
|
|
|
|
on:
|
2015-10-28 13:38:02 +00:00
|
|
|
repo: picocms/Pico
|
2015-10-28 02:20:37 +00:00
|
|
|
tags: true
|
2015-10-28 11:53:56 +00:00
|
|
|
php: 5.3
|
2015-10-28 13:38:02 +00:00
|
|
|
|
2015-10-28 16:34:10 +00:00
|
|
|
sudo: false
|
|
|
|
|