Pico/.travis.yml

54 lines
822 B
YAML
Raw Normal View History

2015-10-28 02:20:37 +00:00
language: php
php:
- 5.4
- 5.5
- 5.6
2016-10-09 00:52:36 +00:00
- 7.0
- 7.1
- nightly
- hhvm
- hhvm-nightly
2015-10-28 02:20:37 +00:00
matrix:
include:
- php: 5.3
dist: precise
allow_failures:
- php: nightly
- php: hhvm-nightly
fast-finish: true
notifications:
irc: "chat.freenode.net#picocms"
before_install:
- export PATH="$TRAVIS_BUILD_DIR/_build:$PATH"
install:
- install.sh
before_script:
- export PATH="$TRAVIS_BUILD_DIR/vendor/bin:$PATH"
2015-10-28 02:20:37 +00:00
script:
- phpcs --standard=.phpcs.xml "$TRAVIS_BUILD_DIR"
after_success:
2015-11-25 23:29:14 +00:00
- deploy-phpdoc-branch.sh
before_deploy:
2015-11-25 23:29:14 +00:00
- deploy-phpdoc-release.sh
- create-release-archive.sh "$TRAVIS_TAG"
2015-10-28 02:20:37 +00:00
deploy:
provider: releases
api_key: ${GITHUB_OAUTH_TOKEN}
file: pico-release-$TRAVIS_TAG.tar.gz
2015-10-28 02:20:37 +00:00
skip_cleanup: true
on:
tags: true
php: 5.3
dist: trusty
sudo: false