Comments (3)
Could we require users to add the PHPUnit dependency to their project in composer.json
instead?
A simple fix would be to check for an existing phpunit
executable here before doing any install:
wp-dev-lib/scripts/travis.install.sh
Line 10 in d8207e7
as we do here already:
wp-dev-lib/scripts/check-diff.sh
Line 454 in 90574b4
Thougts?
from wp-dev-lib.
Actually, the whole thing here might no longer be necessary:
wp-dev-lib/scripts/travis.install.sh
Lines 10 to 27 in d8207e7
since we're already installing PHPunit during install_tools
:
wp-dev-lib/scripts/check-diff.sh
Lines 454 to 459 in 90574b4
which runs right after:
wp-dev-lib/scripts/travis.install.sh
Line 30 in d8207e7
from wp-dev-lib.
@kasparsd Checking for an existing binary from composer makes sense to me. Adding that would be a nice enhancement still.
from wp-dev-lib.
Related Issues (20)
- install-pre-commit-hook.sh will error if "$(git rev-parse --git-dir)/hooks" doesn't exist HOT 1
- Format tag slugs in readme.md
- Downloading PHPUnit twice ? HOT 2
- Validate the composer.json file
- Add support for Composer
- Symlink /vendor to $LINTING_DIRECTORY
- Start versioning wp-dev-lib HOT 6
- Support the new VIP coding standards project HOT 3
- Document the pre-commit hook setup scripts
- Document examples of projects using wp-dev-lib HOT 1
- Update script paths in readme
- DEV_LIB_SKIP documentation HOT 4
- Enable MySQL on Travis using Ubuntu Xenial 16.04
- Ensure we always install the necessary version of phpunit
- Configure pre-commit hook to only run required checks. HOT 4
- On Travis: fatal: Invalid symmetric difference expression master... HOT 6
- Temporary directory causes issues when Eslint rule import/no-unresolved is used
- Provide an environment for running wp-dev-lib reliably
- Don't assume the location of PHPUnit coverage reports
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wp-dev-lib.