Skip to content

Previs Docs

Paul Rosset edited this page Oct 19, 2018 · 3 revisions

Travis is supporting a bunch of things, our main and ultimate goal with Previs is to do the same things than Travis but locally.
Here is a document that inform of what Previs is supporting for the moment.

Base

In the version 0.5.0 (next release) of Previs we are using the official Trusty CI Environment of Travis. By using that docker image as a base image, we are removing a bunch of problems and make our life easier. However, there is only a single negative point is the fact that, this image is heavy, her size is around 4G zipped. But, on the other hand, you just have to download it once and not every time you will use Previs.
Download it once and then use it everywhere!

With the Trusty CI Environment of Travis, we are accessing all the functionality Travis is supporting but our main limitation for the moment, is understanding the configuration in the .travis.yml.
Here is all the functionality you have access locally thank's to Trusty (even launch jobs thanks to Docker in Docker). Thus, our limitation of understanding the configuration is a little bit supply by this images that let us the possibility to do almost what we want through the basic life cycle below.

Language && Version

So, with the Trusty CI env, you will have access to these programming languages for whatever need might be!

  • language: ... (Ruby|Node.js|Go|PHP|Python|Java/JVM)

  • Keys for versions indication:

    • go
    • node
    • rvm
    • php
    • python
    • jdk

Life cycles

As said earlier, for the moment, we are only supporting these commands as life cycle:

  • before_install
  • install
  • before_script
  • script

Additional Commands

  • env
Clone this wiki locally