Commit graph

43 commits

Author SHA1 Message Date
Daniel Rudolf df532e45bb
Travis CI: Use Build Stages
See https://docs.travis-ci.com/user/build-stages
2017-06-21 02:26:44 +02:00
Daniel Rudolf fd78ec38c7
Various small improvements 2017-06-20 17:32:09 +02:00
Daniel Rudolf 66cc087b6e
Travis CI: Explicitly set root package version for branches
Due to the fact that Travis uses a shallow clone of Pico's Git repo, composer has no chance to detect on which branch it currently is. This was no big deal with Pico 1.0, however, Pico 2.0 depends on picocms/pico-deprecated and picocms/pico-theme. We use composer's `self.version` version constraint to sync the version numbers of these separate Git repos. Thus composer must know Pico's current version to resolve these dependencies. We try to guess the current version either using known branch aliases in Pico's `composer.json`, or using the `Pico::VERSION` constant (see `_build/install.sh`).
2017-06-14 02:11:32 +02:00
Daniel Rudolf 8a11a65c9f
Create distinct _build/.gitignore 2017-05-06 19:34:58 +02:00
Daniel Rudolf d6a094216b
Merge branch 'master' into pico-1.1
Conflicts:
	_build/deploy-phpdoc-branch.sh
	themes/default/index.twig
	themes/default/style.css
2016-11-02 23:02:20 +01:00
Daniel Rudolf 381b339b9f
Build system: Fix _build/github-clone.sh 2016-11-02 22:40:05 +01:00
Daniel Rudolf fad5d869ee
Improve build system; add _build/github-clone.sh 2016-11-02 22:23:41 +01:00
Daniel Rudolf a9eee00950
Fix references to the picocms.github.io repo 2016-11-02 22:00:38 +01:00
Daniel Rudolf 998ce379e1
Update _build/create-release-archive.sh 2016-08-24 21:50:03 +02:00
Daniel Rudolf 827be2cb9c
Build System: Refactor source code and release archive creation
Resolves #313
2016-07-24 23:35:10 +02:00
Daniel Rudolf ddf3da0391
Merge branch 'master' into pico-1.1
Conflicts:
	.htaccess
	config/config.php.template
	content-sample/index.md
	lib/Pico.php
2016-06-18 20:23:23 +02:00
Daniel Rudolf 749114df61
Build system: Update phpDoc list formatting 2016-04-27 19:00:44 +02:00
Daniel Rudolf 79a14799bb
Build system: Add phpDoc list 2016-04-27 16:49:38 +02:00
Daniel Rudolf 4c0366fa49
Build system: Move generate-version.sh 2016-04-27 16:49:10 +02:00
Daniel Rudolf e01044319a
Build system: Use dynamic phpDoc title 2016-04-24 21:13:47 +02:00
Daniel Rudolf 3a36dbd934
Build system: Add automatic version file updates for picocms.org 2016-04-24 03:25:55 +02:00
Daniel Rudolf ce84a8618c Build system: Minor code refactoring 2016-01-17 21:26:06 +01:00
Daniel Rudolf 10495c2ce5 _build/generate-badge.sh: Use curl instead of wget
After playing around a little bit with a Ubuntu 12.04 LTS virtual machine, `curl` came in my mind... I've absolutetly no idea why `curl` works, but `wget` does not (it's an issue with OpenSSL and both use it the same way...), but anyway - it works
2016-01-16 00:06:12 +01:00
Daniel Rudolf 0f85f85367 Build scripts: Fix exit codes 2016-01-14 22:57:31 +01:00
Daniel Rudolf 32ea0508cf _build/github-deploy.sh: Fix exit code on conflicting remote commit 2016-01-14 22:49:31 +01:00
Daniel Rudolf f46d0b978c _build/generate-badge.sh: Skip on emty file 2016-01-14 16:33:42 +01:00
Daniel Rudolf 9f0c7bde5d Revert "_build/generate-badge.sh: Connect to shields.io using SSLv3"
This reverts commit 1561786f31.
2016-01-14 16:24:10 +01:00
Daniel Rudolf 1561786f31 _build/generate-badge.sh: Connect to shields.io using SSLv3
This is necessary due to a strange TLS bug in Ubuntu 12.04 LTS used by Travis CI. See https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/861137 for details.
2016-01-14 16:02:34 +01:00
Daniel Rudolf 4f60289d36 _build/deploy-phpdoc-release.sh: Fix version badge status 2016-01-14 15:16:14 +01:00
Daniel Rudolf 024f994d9e _build/deploy-phpdoc-branch.sh: Don't forget to commit phpDocs cache 2016-01-14 14:51:16 +01:00
Daniel Rudolf 8c24e32f10 Build scripts: Fix formatting 2016-01-14 14:16:24 +01:00
Daniel Rudolf 2ed32d67a7 Update _build/deploy-phpdoc-release.sh 2016-01-14 14:16:14 +01:00
Daniel Rudolf 26d7d2f68e Build scripts: Fix formatting 2016-01-14 13:35:08 +01:00
Daniel Rudolf b472664a20 Build scripts: Don't try to commit nothing 2016-01-14 13:20:04 +01:00
Daniel Rudolf cd0e0f706f Build scripts: Git identity must be configured before committing 2016-01-14 13:12:10 +01:00
Daniel Rudolf 92026a3bd0 Add static shields.io badge generator 2016-01-14 12:49:46 +01:00
Daniel Rudolf 0198d827bf Build scripts: Add file comments 2016-01-07 03:00:32 +01:00
Daniel Rudolf d9788c12e4 _build/generate-phpdoc.sh: Fix output formatting 2015-12-07 15:57:00 +01:00
Daniel Rudolf 67bbae184b phpDocs auto deployment: Fix output formatting 2015-11-30 17:23:25 +01:00
Daniel Rudolf 47d2685c6d phpDocs auto deployment: Disable cache for releases 2015-11-30 16:54:45 +01:00
Daniel Rudolf c88a26beff phpDocs auto deployment: Set default push strategy to simple 2015-11-30 15:26:09 +01:00
Daniel Rudolf fe10bca56b phpDocs auto deployment: Fix output formatting 2015-11-30 15:24:00 +01:00
Daniel Rudolf f5c721aba1 phpDocs auto deployment: Fix paths 2015-11-30 15:11:28 +01:00
Daniel Rudolf 76f243f925 Refactor phpDoc deployment
This should prevent empty phpDoc updates like 55b4a2b
2015-11-30 14:53:10 +01:00
Daniel Rudolf 3d4c4e1669 Fix _build/generate-phpdoc.sh 2015-11-30 02:02:53 +01:00
Daniel Rudolf 4be51a7bee Refactor phpDoc generation 2015-11-30 00:52:19 +01:00
theshka 1ea81d4b41 add .phpdoc.xml and move ignore list 2015-11-29 15:55:25 -06:00
theshka 1dc410425f Isolate build-related files from source
* [Changed] rename `phpcs.xml` -> `.phpcs.xml`
* [Changed] rename `build/` dir -> `_build/`
* [Changed] update paths in `.gitignore`
* [Changed] update paths in `.travis.yml`
* [Changed] update paths in `.sh` scripts
2015-11-29 14:55:55 -06:00