I currently work with the Gluu Federation – an open source company. My present job is to build a Web UI for the cluster management using the available API.
We use Python Flask for the Backend and AngularJS+Bootstrap for the Frontend. Pretty much a standard affair these days. Testing is crucial and we have the backend tests in Python Nose and the Frontend Unit tests using Karma and Jasmine running on NodeJS.
language: node_js and ran only the frontend tests. Then I went around searching and stumbled on travis-ci – issue#4090 – Support multiple languages. Thanks to the tip from @BanzaiMan I now have both frontend and backend tests running with a simple yml file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|– pip install -r requirements.txt|
|– nvm install 0.10|
|– npm install|
|– export DISPLAY=:99.0|
|– sh -e /etc/init.d/xvfb start|
|– nosetests –with-coverage –cover-package=gluuwebui|
|– npm test|