My Travis tests fail, but I still want to deploy the app. Is it possible to skip the testing phase in Travis and continue to the deployment?
You can add a script
with a echo
to your .travis.yml
file.
This will force Travis to run your script message instead of running tests automatically.
script:
- echo "skipping tests"
According to the official documentation, the way to do this is to put :
install: true
Here it is : https://docs.travis-ci.com/user/customizing-the-build/#skipping-the-installation-step
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With