Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
latoilescoute-dev
scoodle
Commits
edee5626
Commit
edee5626
authored
Mar 19, 2018
by
Thomas Citharel
Browse files
Use own framasoft/framadate-ci image for CI
Signed-off-by:
Thomas Citharel
<
tcit@tcit.fr
>
parent
a1fbe394
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
edee5626
image
:
php
image
:
framasoft/framadate-ci
stages
:
-
test
-
deploy
-
funky
# install zip, git, composer on each build
before_script
:
-
apt-get update -yqq
-
apt-get install zip unzip git -yqq
# Run php-cs-fixer and phpunit on all branches
test
:
stage
:
test
script
:
-
curl --silent --show-error https://getcomposer.org/installer | php
-
php composer.phar install -o --no-interaction --no-progress --prefer-dist
-
mkdir tpl_c
-
php vendor/bin/php-cs-fixer fix --verbose --dry-run
...
...
@@ -28,7 +22,6 @@ pages:
script
:
-
latesttag=$(git describe --tags)
-
git checkout ${latesttag}
-
curl --silent --show-error https://getcomposer.org/installer | php
-
php composer.phar install -o --no-interaction --no-progress --prefer-dist --no-dev
-
php composer.phar dump-autoload --optimize --no-dev --classmap-authoritative
-
rm -rf composer.phar
...
...
@@ -50,7 +43,6 @@ funky:
stage
:
funky
script
:
-
git checkout funky
-
curl --silent --show-error https://getcomposer.org/installer | php
-
php composer.phar install
-
mkdir tpl_c
-
mkdir .public
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment