Skip to content

Continuous Integration

Audun Wigum Arbo edited this page May 22, 2018 · 3 revisions

This project is set up to use Travis CI for continuous building and testing of each commit. You can view the status, configuration, and start manual builds at https://travis-ci.com/RevolveNTNU/R18_LiveDashServer. Another useful use-case of Travis, is to automatically deploy the code after the tests has been run. This functionality is not yet added to this repository, but it is planned (see #6)

The .travis.yml file

The .travis.yml file is Travis's configuration file. The file tells Travis which programming language to compile, and optionally which commands it should run to do it. The file can also contain a lot of other config values (like deployment setup), which are all documented in Travis's own documentation.

Deployment

The frontend gets automatically deployed to Amazon S3 after a successful build on its master branch. The new version is located on http://r18-livedash.s3-website.eu-central-1.amazonaws.com.

Test environment

The C# code gets built on a Ubuntu Trusty Tahr (14.04) image. The frontend gets built in the default Node environment of travis.

Clone this wiki locally