Build and Test Code from Assembla Perforce Helix Core and Apache Subversion with Travis CI
Travis CI is happy to announce a further extension of our integration with Assembla. On top of our existing support for Git Repositories in Assembla Spaces, now you can easily build and test software over Perforce Helix Core (P4) and Subversion (SVN) repositories in Assembla Spaces.
Assembla supports Git, SVN and P4 repositories under one roof. By extending the existing Assembla and Travis CI integration, the Assembla users utilizing SVN and P4 version control systems can now build and test on Travis CI!
Assembla is a powerful source code management and project management tool. It allows its users to host source code in a variety of version control systems under one roof: Git, Apache SVN and Perforce Helix Core.
The Apache SVN central version control system was a widely adopted standard before Git took the throne. Apache SVN is still in use by a large market today. The P4 (Perforce Helix Core) version control system is used in industries where managing large assets via the version control system is a vital requirement.
The rare capability of having different cloud-based repositories types in tight integration with its ticketing system and various tools enables software development teams to maintain their projects: from the definition, through source code development and online collaboration, to project progress reporting. Continuous integration/deployment is a standard nowadays, automating software building and testing processes. Linking all types of the repositories a team or company may have with a single CI/CD tooling helps to standardize automated build and test management. Travis CI extended integration with Assembla enables building and testing the code from all repository types hosted by Assembla – which means a major, easy to use cloud CI/CD system just became available for SVN and P4 based builds. Unified Travis CI build instructions syntax and ability to share standard build configuration snippets helps to standardize and easily maintain build definitions among different kinds of version control systems.
Travis CI Customers can now build and test code empowered with Assembla capabilities using these world class repositories:
Getting started with Travis CI as a CI/CD tool for SVN and P4 repositories is easy, simply follow these steps:
The build started over a submit to P4 repository – Assembla receives P4 submit, sends notification to Travis CI, Travis CI triggers the build instructions found in the respective repository’s .travis.yml file
Sample .travis.yml file:
dist: focal
language: ruby
rvm:
– 2.2
– jruby
The automatic Travis CI build will be triggered on the next commit after adding the .travis.yml file in the repository enabled within Travis CI.
Montana Mendy created a short video illustrating how this feature works, check it out here.
The Travis CI allows you to create automatic build and test pipelines for your source code, kept in Assembla, P4, and SVN repositories. Since this is a cloud service, you don’t need to worry about maintenance of the infrastructure or scaling it up (or sometimes down) on your own.
The common use case for using Travis CI is to automate the build and tests process. Existing teams may have their scripts already present – that’s perfect; re-use these by calling them as a step in the .travis.yml build instructions.
Once done, the next step may be to add a stage of deploying (or uploading) the artifacts built, also conditionally – e.g., only if the test stage was successful. Travis CI makes it easy to schedule nightly or weekly builds for your software or even run compute-heavy processes using larger CPUs or GPUs (see Boost your Travis builds with GPU).
Yes, you can use Travis CI for your heavy computational builds. There are different build environment configurations available at your disposal in terms of available CPU and RAM. If you would like to use a build environment with GPU attached, the command line version of Blender may allow you to utilize CI/CD to render graphics or video. The command line version of TensorFlow may allow running some machine learning computations using cloud CI/CD.
The syntax of .travis.yml is easy for developers to learn, enabling each team to maintain their repository build and test recipes as code. This has the advantage of not requiring a specialized crew to maintain your automated CI/CD process – the build instructions update is evolving with the source code, and ownership of these is distributed.
Happy building!