-
Notifications
You must be signed in to change notification settings - Fork 398
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build and upload PEAR packages to GitHub on releases (#297)
- Loading branch information
Showing
2 changed files
with
34 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,30 @@ | ||
language: php | ||
php: | ||
- "5.4" | ||
- "5.5" | ||
- "5.6" | ||
- '5.4' | ||
- '5.5' | ||
- '5.6' | ||
services: | ||
- docker | ||
script: | ||
- cd test | ||
- phpunit TestSuite.php | ||
- cd test | ||
- phpunit TestSuite.php | ||
matrix: | ||
fast_finish: true | ||
include: | ||
- stage: GitHub Release | ||
php: '7.2' | ||
script: | ||
- docker run --rm -it -v $PWD:/app centos:centos7 /app/utils/build.sh | ||
deploy: | ||
provider: releases | ||
file_glob: true | ||
file: utils/dist/CAS-*.tgz | ||
skip_cleanup: true | ||
api_key: | ||
secure: SetupEncryptionKeyUsingTravisCLITool | ||
on: | ||
repo: apereo/phpCAS | ||
tags: true | ||
sudo: false | ||
notifications: | ||
email: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/sh | ||
|
||
yum -y update && yum -y install ant doxygen php-pear | ||
|
||
cd /app/utils \ | ||
&& pear upgrade --force --alldeps \ | ||
&& pear install --onlyreqdeps PEAR_PackageFileManager2-beta \ | ||
&& ant dist -Ddoxygen.path=/usr/bin/doxygen -Dphp.path=/usr/bin/php |