actionscript-3travis-ciflexunit

Using travis-ci.org with a pure as3 project


Does anyone know if it is possible to use travis-ci.org for a pure-as3 project (using FlexUnit) ?

Thanks.


Solution

  • We do not have built in support for ActionScript, but if it's possible to run on Ubuntu, then it should be possible to test on Travis.

    You can install any dependencies as part of the build process with apt-get:

    before_install:
      - sudo apt-get -qq update
      - sudo apt-get -qq install some-package another-package
    

    Looking at the FlexUnit docs, it looks like you need a frame buffer available. You may have some luck using xvfb. We have some docs on that, although aimed towards browsers, it may work for you too.