Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
scheduler
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
scheduler
Commits
9ba9c8ca
Commit
9ba9c8ca
authored
3 years ago
by
Jonathan Smith
Committed by
Jonathan Smith
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Issue
#3224263
by jonathan1055: Remove /tests from phpunit script call in .travis
parent
3c922e46
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.travis.yml
+5
-5
5 additions, 5 deletions
.travis.yml
with
5 additions
and
5 deletions
.travis.yml
+
5
−
5
View file @
9ba9c8ca
...
...
@@ -139,19 +139,19 @@ script:
-
|
if [[ "$MEDIA" == "NO" && "$PRODUCTS" == "NO" && "$RULES" == "NO" ]]; then
echo "Running tests excluding Media, Products and Rules ..."
./vendor/bin/phpunit -c ./core/phpunit.xml.dist --debug ./modules/$MODULE/
tests/
--filter '/^((?!(media|product|rules)).)*$/i'
./vendor/bin/phpunit -c ./core/phpunit.xml.dist --debug ./modules/$MODULE/ --filter '/^((?!(media|product|rules)).)*$/i'
elif [[ "$MEDIA" == "NO" && "$PRODUCTS" == "NO" ]]; then
echo "Running tests excluding Media and Products ..."
./vendor/bin/phpunit -c ./core/phpunit.xml.dist --debug ./modules/$MODULE/
tests/
--filter '/^((?!(media|product)).)*$/i'
./vendor/bin/phpunit -c ./core/phpunit.xml.dist --debug ./modules/$MODULE/ --filter '/^((?!(media|product)).)*$/i'
elif [[ "$RULES" == "NO" && "$PRODUCTS" == "NO" ]]; then
echo "Running tests excluding Rules and Products ..."
./vendor/bin/phpunit -c ./core/phpunit.xml.dist --debug ./modules/$MODULE/
tests/
--filter '/^((?!(rules|product)).)*$/i'
./vendor/bin/phpunit -c ./core/phpunit.xml.dist --debug ./modules/$MODULE/ --filter '/^((?!(rules|product)).)*$/i'
elif [ "$RULES" == "NO" ]; then
echo "Running tests excluding Rules ..."
./vendor/bin/phpunit -c ./core/phpunit.xml.dist --debug ./modules/$MODULE/
tests/
--filter '/^((?!rules).)*$/i'
./vendor/bin/phpunit -c ./core/phpunit.xml.dist --debug ./modules/$MODULE/ --filter '/^((?!rules).)*$/i'
else
echo "Running all tests ..."
./vendor/bin/phpunit -c ./core/phpunit.xml.dist --debug ./modules/$MODULE/
tests/
./vendor/bin/phpunit -c ./core/phpunit.xml.dist --debug ./modules/$MODULE/
fi
# Check for coding standards. First show the versions.
...
...
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