Question

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

Thanks.

Was it helpful?

Solution 2

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.

OTHER TIPS

This GitHub Travis-CI ActionScript Demo project is a great starting place to get up and running with UnitTesting a Flash project with Travis-CI.

Much like in FlashBuilder the UnitTest suites and libraries are utilizing Flex; however, your project can be 'pure-as3' project. The demo utilizes OSX Travis worker. The Flash Player will be downloaded from the Adobe website at runtime. All build dependencies (flex sdk, flex unit) will be resolved by Maven with flex-mojos

Many of the Flex-Mojos resources are drying up; however, if you are utilizing the Apache-FlexSDK's you'll want to look here for the latest version.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top