For Travis CI, you can define your build stages in your travis.yml file:
jobs:
include:
- stage: test
script: ./test 1
- # stage name not required, will continue to use `test`
script: ./test 2
- stage: deploy
script: ./deploy
- stage: deploy
script: ./start_crashtest.sh
As for the above examples, you can enter your script to start the Crashtest Security Scan and enter pass/fail rules.
For more information on Travis CI, check out their documentation link.
What is Travis CI?
Travis CI is a free continuous integration tool that lets developers run tests on multiple platforms and commit changes directly into GitHub without having to build and push each version manually. Instead, you can easily set up automated builds for every pull request and automatically deploy your code to staging servers.
Easily sync your projects with our CLI interface, and you’ll be testing and deploying your code in minutes. We provide command line tools for Ruby, Node.js, PHP, Python, Go, Java, Rust, Elixir, Haskell, Kotlin, Scala, Perl, R, and others.
What are the benefits of using Travis CI?
Travis CI enables your team to ship code faster and more efficiently. Whether you’re working on mobile, web, desktop, or server applications, there are tools to help make sure your app works across every device and OS. In addition, you can use Travis CI to automate testing and deployment and even provide continuous integration, so you can focus on what matters most – shipping great software.