Commit graph

47 commits

Author SHA1 Message Date
Daniel Rudolf
4fb0b408e2
Build system: Improve and fix deployment 2017-11-05 02:36:50 +01:00
Daniel Rudolf
6e88e7ffbb
Build system: Disable Travis IRC notifications 2017-11-04 23:52:20 +01:00
Daniel Rudolf
dfed9cc51f
Build system: Create GitHub releases as draft 2017-10-28 22:53:25 +02:00
Daniel Rudolf
1dee2c1cf6
Build system: Use 'picocms/pico-composer' to create release archives 2017-10-22 21:27:19 +02:00
Daniel Rudolf
81ebc4c33e
Build system: Move helper scripts to _build/tools dir 2017-10-22 21:15:29 +02:00
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
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
66916f62bc
Travis CI: Upgrade to Ubuntu Trusty for HHVM support
However, Ubuntu Trusty doesn't support PHP 5.3, so we'll have to continue using Ubuntu Precise for PHP 5.3
2017-06-12 20:11:04 +02:00
Daniel Rudolf
19bc3412ad
.travis.yml: Enable HHVM nightly builds 2016-10-11 18:21:14 +02:00
Daniel Rudolf
da3d5a7e6f
.travis.yml: Enable Travis IRC notifications 2016-10-09 13:14:56 +02:00
Daniel Rudolf
6e891585ab
.travis.yml: Add PHP 7.1 to Travis CI 2016-10-09 02:52:36 +02:00
Daniel Rudolf
827be2cb9c
Build System: Refactor source code and release archive creation
Resolves #313
2016-07-24 23:35:10 +02:00
theshka
fa4e095bdf Move LICENSE to LICENSE.md 2015-12-01 15:12:20 -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
Daniel Rudolf
2535df7cfe Add index.php.dist
See https://github.com/picocms/Pico/issues/285#issuecomment-160130798
2015-11-27 20:24:29 +01:00
Daniel Rudolf
31acaffa67 Add PHP_CodeSniffer 2015-11-27 19:40:26 +01:00
Daniel Rudolf
869a697977 Merge branch 'master' into enhancement/build-release
Conflicts:
	.travis.yml
2015-11-26 00:38:30 +01:00
Daniel Rudolf
17dbc4cf18 phpDocs auto deployment: Cleanup 2015-11-26 00:29:14 +01:00
Daniel Rudolf
3ac53d2b4c phpDocs auto deployment: Improve title of class docs for branches 2015-11-25 23:44:11 +01:00
Daniel Rudolf
38d2dd2e20 Travis: Remove .git dirs from vendor/ dir when deploying
See https://github.com/picocms/Pico/issues/289#issuecomment-159722672 - thanks to @joshas for spotting
2015-11-25 23:38:22 +01:00
Daniel Rudolf
137b2ba3a6 phpDocs auto deployment: Fix deployment of branches with slashes 2015-11-25 23:35:42 +01:00
Daniel Rudolf
236ae43dab phpDocs auto deployment: Fix deployment of branches 2015-11-25 23:09:15 +01:00
Daniel Rudolf
c198333de7 Improve phpDocs auto-generation 2015-11-25 22:55:21 +01:00
Daniel Rudolf
3852585ba0 Improve phpDocs auto-generation 2015-11-25 21:55:28 +01:00
Daniel Rudolf
9a46033141 Improve phpDocs auto-generation 2015-11-25 21:36:56 +01:00
Daniel Rudolf
e4165d35b1 Fix .travis.yml 2015-11-25 20:59:29 +01:00
Daniel Rudolf
5862825265 Travis: Deploy phpDocs on PHP 5.3 only and allow multiple branches 2015-11-25 20:56:13 +01:00
Daniel Rudolf
c9387610f3 Auto-generate phpDoc when committing to master 2015-11-25 20:39:49 +01:00
Daniel Rudolf
1f16be05e3 Merge branch 'master' into enhancement/build-release 2015-11-25 20:38:44 +01:00
Daniel Rudolf
4ddde6b9fb Travis: Deploy on every repo, forks usually don't setup Travis 2015-11-25 20:38:27 +01:00
Daniel Rudolf
d503cea954 Travis: Don't test vendor PHP files 2015-11-25 20:37:45 +01:00
Daniel Rudolf
b198ad48c6 Travis: Allow PHP nightly builds to fail 2015-11-25 20:04:46 +01:00
Daniel Rudolf
18fc928797 Merge branch 'master' into enhancement/build-release
Conflicts:
	.travis.yml
2015-11-25 18:03:03 +01:00
Daniel Rudolf
2982f5deb9 Optimize composer autoloader before deploying
This converts PSR-0/PSR-4 autoloading to classmap to get a faster autoloader (up to 20% performance increase)
2015-11-24 19:49:16 +01:00
Daniel Rudolf
7f4ad75245 Refactor phpDoc auto-deployment 2015-11-23 21:46:36 +01:00
theshka
04f7140347 update .travis.yml for auto-docs 2015-11-23 13:19:47 -06:00
theshka
7f910e913f update auto-docs files
* [Changed] move everything inside /build/ directory
Implement @PhrozenByte 's suggestions.
* [Changed] don't change directories, pass the paths
* [Removed] unnecessary `composer install`, travis-ci runs this already
* [Removed] unnecessary `composer self-update` command
* [Removed] unnecessary php version check on script
2015-11-23 12:26:25 -06:00
theshka
f062640bb1 test auto docs 2015-11-20 23:28:09 -06:00
Daniel Rudolf
2d6859af60 Update .travis.yml 2015-11-06 19:13:01 +01:00
Daniel Rudolf
b5d54d05c4 Update .travis.yml: Name release archives "pico-release-$TRAVIS_TAG.tar.gz"
Should make it easier for a ordinary user to distinct source code and release 😃
2015-11-05 21:58:45 +01:00
Daniel Rudolf
f1fc4c979e Revert commit a068850
According to travis-ci/travis-ci#2111 and some own testing, it isn't possible to combine branch whitelists with tag-based auto deployment. Unfortunately it is necessary to whitelist the gh-pages branch, because Travis implicitly blacklists it.
2015-10-29 01:19:43 +01:00
Daniel Rudolf
a068850578 Update .travis.yml
Let Travis build branches master and gh-pages only
2015-10-29 00:37:59 +01:00
Daniel Rudolf
43f9590d5e Update .travis.yml
Use Travis container-based infrastructure
2015-10-28 17:34:10 +01:00
Daniel Rudolf
360e7ab91f Update .travis.yml
Use $TRAVIS_TAG for the "binary" filename
2015-10-28 17:26:43 +01:00
Daniel Rudolf
efcbbb8ce0 Update .travis.yml
Build on picocms/Pico only
2015-10-28 14:38:02 +01:00
Daniel Rudolf
d3a1308556 Update .travis.yml
Just adding some features inspired by other projects using Travis, e.g. a simple PHP syntax checker with various PHP versions. A short peak into @dav-m85 link leads me to think that running composer and creating the archive should be done with before_deploy rather than script.
2015-10-28 12:53:56 +01:00
David "Paztek" Moreau
3e0161b51a Create .travis.yml 2015-10-28 12:37:46 +01:00