Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
framadate
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nounous
framadate
Commits
83d35654
Commit
83d35654
authored
7 years ago
by
Thomas Citharel
Browse files
Options
Downloads
Patches
Plain Diff
Refactor to put tests outside of deployment and optimize autoloader on builds
Signed-off-by:
Thomas Citharel
<
tcit@tcit.fr
>
parent
89dd2fbc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+2
-5
2 additions, 5 deletions
.gitlab-ci.yml
with
2 additions
and
5 deletions
.gitlab-ci.yml
+
2
−
5
View file @
83d35654
...
...
@@ -18,8 +18,6 @@ test:
-
mkdir tpl_c
-
php vendor/bin/php-cs-fixer fix --verbose --dry-run
-
vendor/bin/phpunit --bootstrap app/tests/bootstrap.php --debug app/tests
except
:
-
master
# Create artifacts on master
pages
:
...
...
@@ -27,10 +25,9 @@ pages:
script
:
-
latesttag=$(git describe --tags)
-
git checkout ${latesttag}
-
php composer.phar install -o --no-interaction --no-progress --prefer-dist
-
php composer.phar install -o --no-interaction --no-progress --prefer-dist --no-dev
-
php composer.phar dump-autoload --optimize --no-dev --classmap-authoritative
-
mkdir tpl_c
-
php vendor/bin/php-cs-fixer fix --verbose --dry-run
-
vendor/bin/phpunit --bootstrap app/tests/bootstrap.php --debug app/tests
-
zip -r latest.zip .
-
mkdir .public
-
cp latest.zip .public
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment