This repository was archived by the owner on Feb 5, 2025. It is now read-only.
forked from phpDocumentor/phpDocumentor
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
48 lines (41 loc) · 1.43 KB
/
.travis.yml
File metadata and controls
48 lines (41 loc) · 1.43 KB
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
46
47
48
language: php
php: [ 5.4, 5.5, 5.6, 7.0, 7.1, nightly ]
sudo: false
env:
global:
- VERSION=$(echo $TRAVIS_TAG | cut -c 2-10)
script:
- bin/phpunit
- bin/behat
install:
- composer install --no-interaction --prefer-dist -o
cache:
directories:
- $HOME/.composer/cache/files
notifications:
irc: irc.freenode.org#phpdocumentor
slack:
secure: fjumM0h+4w3EYM4dpgqvpiCug7m4sSIC5+HATgwga/Nrc6IjlbWvGOv3JPgD3kQUhi18VmZfUYPmCv916SIbMnv8JWcrSaJXnPCgmxidvYkuzQDIw1HDJbVppGnkmwQA/qjIrM3sIEMfnu/arLRJQLI363aStZzGPxwIa4PDKcg=
email:
- me@mikevanriel.com
- ashnazg@php.net
before_deploy:
- echo "${VERSION}" > VERSION
- yes "" | pear upgrade --force
- pear install XML_Serializer-beta
- pear install PEAR_PackageFileManager2-1.0.4
- php bin/utils/package.php '${VERSION}' '${VERSION}' 'stable' make
- pear package
- php -d phar.readonly=false box.phar build
- openssl sha1 phpDocumentor.phar
- echo "Update https://github.com/josegonzalez/homebrew-php/blob/master/Formula/phpdocumentor.rb with the latest version number and the SHA1 that is shown above with the path /get/phpDocumentor-${VERSION}.phar"
deploy:
provider: releases
api_key:
secure: WUchZXQQdIDtVQTYZsQ++2R1y6I+EzBrAACRuc33wAVd0mlqNmu3nb/c1Ou4pTk5JxjyGqm9Siyp9vobhBtzBh/hdXAnbZDWNx2l6R1M9S4R/Z/VbcQ+uIJ/VOoh2KvIOCcyVuFVmsemlVQCuatCRKswKmK/OuyQXy6ppyZMilA=
file: "phpDocumentor.phar"
skip_cleanup: true
on:
repo: phpDocumentor/phpDocumentor2
tags: true
php: 5.4