Remove Travis CI
This commit is contained in:
parent
d0f2696974
commit
9663b7a8ac
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -9,4 +9,3 @@
|
|||||||
/.gitignore export-ignore
|
/.gitignore export-ignore
|
||||||
/.phpcs.xml export-ignore
|
/.phpcs.xml export-ignore
|
||||||
/.phpdoc.xml export-ignore
|
/.phpdoc.xml export-ignore
|
||||||
/.travis.yml export-ignore
|
|
||||||
|
82
.travis.yml
82
.travis.yml
@ -1,82 +0,0 @@
|
|||||||
dist: bionic
|
|
||||||
sudo: false
|
|
||||||
|
|
||||||
language: php
|
|
||||||
|
|
||||||
cache:
|
|
||||||
directories:
|
|
||||||
- $HOME/.composer/cache/files
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
include:
|
|
||||||
# Test stage
|
|
||||||
- php: 5.3
|
|
||||||
dist: precise
|
|
||||||
- php: 5.4
|
|
||||||
dist: trusty
|
|
||||||
- php: 5.5
|
|
||||||
dist: trusty
|
|
||||||
- php: 5.6
|
|
||||||
dist: xenial
|
|
||||||
- php: 7.0
|
|
||||||
dist: xenial
|
|
||||||
- php: 7.1
|
|
||||||
- php: 7.2
|
|
||||||
- php: 7.3
|
|
||||||
- php: 7.4
|
|
||||||
- php: nightly
|
|
||||||
- php: hhvm-3.24 # until Dec 2018
|
|
||||||
- php: hhvm-3.27 # until Sep 2019
|
|
||||||
- php: hhvm-3.30 # until Nov 2019
|
|
||||||
|
|
||||||
# Branch deployment stage
|
|
||||||
- stage: deploy-branch
|
|
||||||
if: type == "push" && tag IS blank
|
|
||||||
php: 5.3
|
|
||||||
dist: precise
|
|
||||||
install:
|
|
||||||
- '[[ ",$DEPLOY_PHPDOC_BRANCHES," == *,"$TRAVIS_BRANCH",* ]] || travis_terminate 0'
|
|
||||||
- install.sh --deploy
|
|
||||||
script:
|
|
||||||
- deploy-branch.sh
|
|
||||||
|
|
||||||
# Release deployment stage
|
|
||||||
- stage: deploy-release
|
|
||||||
if: tag IS present
|
|
||||||
php: 5.3
|
|
||||||
dist: precise
|
|
||||||
install:
|
|
||||||
- install.sh --deploy
|
|
||||||
script:
|
|
||||||
- '[ "$PROJECT_REPO_TAG" == "v$(php -r "require_once(\"lib/Pico.php\"); echo Pico::VERSION;")" ]'
|
|
||||||
- deploy-release.sh
|
|
||||||
before_deploy:
|
|
||||||
- release.sh "$PROJECT_REPO_TAG"
|
|
||||||
deploy:
|
|
||||||
provider: releases
|
|
||||||
api_key: ${GITHUB_OAUTH_TOKEN}
|
|
||||||
file:
|
|
||||||
- pico-release-$PROJECT_REPO_TAG.tar.gz
|
|
||||||
- pico-release-$PROJECT_REPO_TAG.zip
|
|
||||||
skip_cleanup: true
|
|
||||||
name: Version ${PROJECT_REPO_TAG:1}
|
|
||||||
draft: true
|
|
||||||
on:
|
|
||||||
tags: true
|
|
||||||
|
|
||||||
# Ignore nightly build failures
|
|
||||||
allow_failures:
|
|
||||||
- php: nightly
|
|
||||||
fast_finish: true
|
|
||||||
|
|
||||||
before_install:
|
|
||||||
- export PICO_TOOLS_DIR="$HOME/__picocms_tools"
|
|
||||||
- git clone --branch="$TOOLS_REPO_BRANCH" "https://github.com/$TOOLS_REPO_SLUG.git" "$PICO_TOOLS_DIR"
|
|
||||||
- . "$PICO_TOOLS_DIR/init/travis.sh.inc"
|
|
||||||
- . "$PICO_PROJECT_DIR/.build/init.sh.inc"
|
|
||||||
|
|
||||||
install:
|
|
||||||
- install.sh
|
|
||||||
|
|
||||||
script:
|
|
||||||
- phpcs --standard=.phpcs.xml "$PICO_PROJECT_DIR"
|
|
@ -153,7 +153,7 @@ As soon as development reaches a point where feedback is appreciated, a pull req
|
|||||||
Build & Release process
|
Build & Release process
|
||||||
-----------------------
|
-----------------------
|
||||||
|
|
||||||
We're using [Travis CI](https://travis-ci.com) to automate the build & release process of Pico. It generates and deploys a [PHP class documentation](http://picocms.org/phpDoc/) (powered by [phpDoc](http://phpdoc.org)) for new releases and on every commit to the `master` branch. Travis also prepares new releases by generating Pico's pre-built release packages, a version badge, code statistics (powered by [cloc](https://github.com/AlDanial/cloc)) and updates our website (the [`picocms.github.io` repo](https://github.com/picocms/picocms.github.io)). Please refer to our [`.travis.yml`](https://github.com/picocms/Pico/blob/master/.travis.yml), the [`picocms/ci-tools` repo](https://github.com/picocms/ci-tools) and the [`.build` directory](https://github.com/picocms/Pico/tree/master/.build) for details.
|
We're using [GitHub Actions](https://github.com/features/actions) to automate the build & release process of Pico. The workflows generate and deploy a [PHP class documentation](http://picocms.org/phpDoc/) (powered by [phpDoc](http://phpdoc.org)) for new releases and on every commit to the `master` branch. GitHub Actions also prepare new releases by generating Pico's pre-built release packages, a version badge, code statistics (powered by [cloc](https://github.com/AlDanial/cloc)) and updates our website (the [`picocms.github.io` repo](https://github.com/picocms/picocms.github.io)). Please refer to the [`.github/workflows/` directory](https://github.com/picocms/Pico/tree/master/.github/workflows/), the [`picocms/ci-tools` repo](https://github.com/picocms/ci-tools) and the [`.build` directory](https://github.com/picocms/Pico/tree/master/.build) for details.
|
||||||
|
|
||||||
As insinuated above, it is important that each commit to `master` is deployable. Once development of a new Pico release is finished, trigger Pico's build & release process by pushing a new Git tag. This tag should reference a (usually empty) commit on `master`, which message should adhere to the following template:
|
As insinuated above, it is important that each commit to `master` is deployable. Once development of a new Pico release is finished, trigger Pico's build & release process by pushing a new Git tag. This tag should reference a (usually empty) commit on `master`, which message should adhere to the following template:
|
||||||
|
|
||||||
@ -171,7 +171,7 @@ Before pushing a new Git tag, make sure to update the `Pico::VERSION` and `Pico:
|
|||||||
|
|
||||||
If you're pushing a new major or minor release of Pico, you should also update Pico's `composer.json` to require the latest minor releases of Pico's dependencies. Besides, don't forget to update the `@version` tags in the PHP class docs.
|
If you're pushing a new major or minor release of Pico, you should also update Pico's `composer.json` to require the latest minor releases of Pico's dependencies. Besides, don't forget to update the `@version` tags in the PHP class docs.
|
||||||
|
|
||||||
Travis CI will draft the new [release on GitHub](https://github.com/picocms/Pico/releases) automatically, but will require you to manually amend the descriptions formatting. The latest Pico version is always available at https://github.com/picocms/Pico/releases/latest, so please make sure to publish this URL rather than version-specific URLs. [Packagist](http://packagist.org/packages/picocms/pico) will be updated automatically.
|
GitHub Actions will draft the new [release on GitHub](https://github.com/picocms/Pico/releases) automatically, but will require you to manually amend the descriptions formatting. The latest Pico version is always available at https://github.com/picocms/Pico/releases/latest, so please make sure to publish this URL rather than version-specific URLs. [Packagist](http://packagist.org/packages/picocms/pico) will be updated automatically.
|
||||||
|
|
||||||
Labeling of Issues & Pull Requests
|
Labeling of Issues & Pull Requests
|
||||||
----------------------------------
|
----------------------------------
|
||||||
|
@ -3,7 +3,6 @@ Pico
|
|||||||
|
|
||||||
[](https://github.com/picocms/Pico/blob/master/LICENSE.md)
|
[](https://github.com/picocms/Pico/blob/master/LICENSE.md)
|
||||||
[](https://github.com/picocms/Pico/releases/latest)
|
[](https://github.com/picocms/Pico/releases/latest)
|
||||||
[](https://travis-ci.org/picocms/Pico)
|
|
||||||
[](https://web.libera.chat/#picocms)
|
[](https://web.libera.chat/#picocms)
|
||||||
|
|
||||||
Pico is a stupidly simple, blazing fast, flat file CMS.
|
Pico is a stupidly simple, blazing fast, flat file CMS.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user