Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
Nextcloud mail - PostGuard
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
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
Laura Kolijn
Nextcloud mail - PostGuard
Commits
534555c1
Unverified
Commit
534555c1
authored
7 years ago
by
Steffen Lindner
Browse files
Options
Downloads
Patches
Plain Diff
Manually download phpunit 5.7 on travis
parent
0430fca8
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
.travis.yml
+5
-1
5 additions, 1 deletion
.travis.yml
with
5 additions
and
1 deletion
.travis.yml
+
5
−
1
View file @
534555c1
...
...
@@ -43,6 +43,10 @@ cache:
before_install
:
-
php --info
# Download phpunit 5.7
-
wget https://phar.phpunit.de/phpunit-5.7.phar -O phpunit
-
chmod u+x phpunit
# Set up DB
-
if [[ "$DB" == 'pgsql' ]]; then createuser -U travis -s oc_autotest; fi
-
if [[ "$DB" == 'mysql' ]]; then mysql -u root -e 'create database oc_autotest;'; fi
...
...
@@ -96,7 +100,7 @@ script:
# Run PHP tests
-
cd tests
-
phpunit --configuration phpunit.xml
-
../
phpunit --configuration phpunit.xml
-
if [[ "$PHP_COVERAGE" = "TRUE" ]]; then wget https://scrutinizer-ci.com/ocular.phar;
fi
-
if [[ "$PHP_COVERAGE" = "TRUE" ]]; then php ocular.phar code-coverage:upload --format=php-clover
...
...
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