Daniel Rudolf
6d6a39b744
Fix Travis build
...
See travis-ci/travis-ci#8248
7 years ago
Daniel Rudolf
822d58db60
Fix auto-publishing of pre-bundled releases
7 years ago
Daniel Rudolf
568166ad07
Check Pico::VERSION constant before deploying a new release
7 years ago
Daniel Rudolf
722de2a1e5
Build system: Refactor scripts to use picocms/ci-tools
8 years ago
Daniel Rudolf
a192a42de5
Travis CI: Add PHP 7.2
8 years ago
Daniel Rudolf
66bb17a419
Build system: Make sure to create release archive in $TRAVIS_BUILD_DIR
8 years ago
Daniel Rudolf
4fb0b408e2
Build system: Improve and fix deployment
8 years ago
Daniel Rudolf
6e88e7ffbb
Build system: Disable Travis IRC notifications
8 years ago
Daniel Rudolf
dfed9cc51f
Build system: Create GitHub releases as draft
8 years ago
Daniel Rudolf
1dee2c1cf6
Build system: Use 'picocms/pico-composer' to create release archives
8 years ago
Daniel Rudolf
81ebc4c33e
Build system: Move helper scripts to _build/tools dir
8 years ago
Daniel Rudolf
df532e45bb
Travis CI: Use Build Stages
...
See https://docs.travis-ci.com/user/build-stages
8 years ago
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`).
8 years ago
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
8 years ago
Daniel Rudolf
19bc3412ad
.travis.yml: Enable HHVM nightly builds
9 years ago
Daniel Rudolf
da3d5a7e6f
.travis.yml: Enable Travis IRC notifications
9 years ago
Daniel Rudolf
6e891585ab
.travis.yml: Add PHP 7.1 to Travis CI
9 years ago
Daniel Rudolf
827be2cb9c
Build System: Refactor source code and release archive creation
...
Resolves #313
9 years ago
theshka
fa4e095bdf
Move LICENSE to LICENSE.md
10 years ago
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
10 years ago
Daniel Rudolf
2535df7cfe
Add index.php.dist
...
See https://github.com/picocms/Pico/issues/285#issuecomment-160130798
10 years ago
Daniel Rudolf
31acaffa67
Add PHP_CodeSniffer
10 years ago
Daniel Rudolf
17dbc4cf18
phpDocs auto deployment: Cleanup
10 years ago
Daniel Rudolf
3ac53d2b4c
phpDocs auto deployment: Improve title of class docs for branches
10 years ago
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
10 years ago
Daniel Rudolf
137b2ba3a6
phpDocs auto deployment: Fix deployment of branches with slashes
10 years ago
Daniel Rudolf
236ae43dab
phpDocs auto deployment: Fix deployment of branches
10 years ago
Daniel Rudolf
c198333de7
Improve phpDocs auto-generation
10 years ago
Daniel Rudolf
3852585ba0
Improve phpDocs auto-generation
10 years ago
Daniel Rudolf
9a46033141
Improve phpDocs auto-generation
10 years ago
Daniel Rudolf
e4165d35b1
Fix .travis.yml
10 years ago
Daniel Rudolf
5862825265
Travis: Deploy phpDocs on PHP 5.3 only and allow multiple branches
10 years ago
Daniel Rudolf
c9387610f3
Auto-generate phpDoc when committing to master
10 years ago
Daniel Rudolf
4ddde6b9fb
Travis: Deploy on every repo, forks usually don't setup Travis
10 years ago
Daniel Rudolf
d503cea954
Travis: Don't test vendor PHP files
10 years ago
Daniel Rudolf
b198ad48c6
Travis: Allow PHP nightly builds to fail
10 years ago
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)
10 years ago
Daniel Rudolf
7f4ad75245
Refactor phpDoc auto-deployment
10 years ago
theshka
04f7140347
update .travis.yml for auto-docs
10 years ago
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
10 years ago
theshka
f062640bb1
test auto docs
10 years ago
Daniel Rudolf
2d6859af60
Update .travis.yml
10 years ago
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 😃
10 years ago
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.
10 years ago
Daniel Rudolf
a068850578
Update .travis.yml
...
Let Travis build branches master and gh-pages only
10 years ago
Daniel Rudolf
43f9590d5e
Update .travis.yml
...
Use Travis container-based infrastructure
10 years ago
Daniel Rudolf
360e7ab91f
Update .travis.yml
...
Use $TRAVIS_TAG for the "binary" filename
10 years ago
Daniel Rudolf
efcbbb8ce0
Update .travis.yml
...
Build on picocms/Pico only
10 years ago
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.
10 years ago
David "Paztek" Moreau
3e0161b51a
Create .travis.yml
10 years ago