Skip to content

Commit

Permalink
minor #74 Add automatic releasing (tucksaun)
Browse files Browse the repository at this point in the history
This PR was merged into the 1.1.x-dev branch.

Discussion
----------

Add automatic releasing

Commits
-------

196afa0 Add automatic releasing
  • Loading branch information
fabpot committed May 17, 2018
2 parents 5cbc8ed + 196afa0 commit d676b2b
Showing 1 changed file with 29 additions and 12 deletions.
41 changes: 29 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,16 @@ cache:
directories:
- $HOME/.composer/cache/files

matrix:
install:
- composer install

script:
- vendor/bin/simple-phpunit

jobs:
include:
- php: 5.3
- stage: test
php: 5.3
dist: precise
- php: 5.4
- php: 5.5
Expand All @@ -17,13 +24,23 @@ matrix:
- php: 7.1
- php: 7.2
- php: hhvm

before_script:
- composer install

script:
- vendor/bin/simple-phpunit

branches:
only:
- master
- stage: release
php: 5.3
dist: precise
install:
- composer install --no-dev -o
- curl -LSs https://box-project.github.io/box2/installer.php | php
script:
- mkdir -p build/
- php box.phar build
deploy:
provider: s3
access_key_id: $AWS_ACCESS_KEY_ID
secret_access_key: $AWS_SECRET_ACCESS_KEY
bucket: "get.insight.sensiolabs.com"
skip_cleanup: true
region: eu-west-1
acl: public-read
local_dir: build
on:
tags: true

0 comments on commit d676b2b

Please sign in to comment.