forked from phpstan/phpstan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
45 lines (41 loc) · 3 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
os: linux
dist: xenial
language: php
env:
global:
# GITHUB_TOKEN
- secure: "TbH4BzxhThar4som8lrLvysZe2Unf7LNmbnBma9ZT7v6yYk1RLug9tIltCoktrIRsSuq6usspG1GjmWpb74KTJSXVs3BuR81hM7zH4DKkZZahqhVgz1uOno3qZHCO/K/hSBfS3gkIuTPuYmAOEaSWz26buKwZPQWlSWFWfo3+uvT6jaa+Ry+EWwbtpEQsp7ox3oOomIJg3jwUD9tP7xlyMHDDY1XC8X1uE09KefqUSxeN2id5Yb6kb21+iB9kONImGt0AqUSBOa7iwadizhBMGUs0b9IwVIG4+5V3zIATubqZOTGJQJ/z+XDCY6gUw42TmVThneZVdM9++7XU7mCuIh+5jE1tTgnxuLGubXAAFWLPZN0+VwMnkCCcdccFz313+pSCVgww2lIKn2Ij0fGt3OJyqik8kzDwE7YGuFWJYx21SXTiJy6nXj9T7UYEJbyNMq6PSA/QVUrfnikzJ5024NYs2MhnL7ZPuo364M6I7HkecRVvlSdsI04njjUYpCBVvR+sIEfBzL3YBq3kz8v2Q+V0lY6wsrGDfZdQ1KonbE3XC7ADZSVzzzwcSl2OWwamjbORgr03LoEwJZuk7nYDDzyJU7zwtu4XiagxdudJw+/V/xAhQo079MOiiOP91ZTFm4g18WvDrCSkDUGe3/SIlCy5ESWYQHHNUvaQjb9a28="
# AWS_ACCESS_KEY_ID
- secure: "JY3QycQYnUn14rUPJ3Dl10Hn2NmDmOdHjDhsB5ZUhIVZSHlzmr115geTSk2dNA3j/a9rTL3RkpZ3FEdyvQzyIflEdLaA+BEQ/loufV+61CCDJz7hRmMCp914YrI0c0nWisNTU8EBXlR3rGxqeP2cDLCTAYrc12FeVrRuMXIp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8X+FcbS2A6gNfTAW6MABZyXXd9vUuOGkyvjvvoNRlBE/ef5411A3hhv/BYd+TkQxEQFChXlQlJ6fx+VxAypFWS4unfVlL35LcgvTAjARiwU5pp1//4TMjmP+tU+RMXI9QpS1ntLRSZP1X9XaN+6XvqE="
jobs:
include:
- stage: Draft The Release
script: skip
if: tag IS present && type = push
deploy:
- provider: releases
api_key: $GITHUB_TOKEN
file:
- phpstan.phar
- phpstan.phar.asc
skip_cleanup: true
draft: true
name: $TRAVIS_TAG
on:
tags: true
- stage: Update Playground
name: Update Playground
if: (branch = master) && type = push
script:
- cd playground-runner
- composer install --no-dev
- cp ../phpstan.phar vendor/phpstan/phpstan/phpstan.phar
- cp ../phpstan vendor/phpstan/phpstan/phpstan
- rm -rf vendor/phpstan/phpstan/.git
- npm install -g serverless
- serverless deploy
cache:
directories:
- $HOME/.composer/cache