Giter Site home page Giter Site logo

git-travis-demo's Introduction

Demo for GitHub and TravisCI integration

This repository contains a sample C++ project demonstrating the capabilities of integrating GitHub with an continuous integration system TravisCI and AppVeyor.

Automatic build status:

  • TravisCI: Build Status (intentional failing tests for demonstration, click the image)
  • AppVeyor: Build status (intentional failing tests for demonstration, click the image)

Functionality

The only supported functionality is the computation of a factorial.

It uses CATCH, a modern, C++-native, header-only, framework for unit-tests, TDD and BDD, for unit testing the code.

Furthermore, this project illustrates the repository guidelines for projects at CRoCS laboratory. The full guidelines can be found at CRoCS wiki.

Build process

The project uses GNU Make for building. To build, run 'make' in the root directory. The following targets are available:

  • all (automatic) build both main and testing binary
  • main build the main binary
  • main-test build the binary running tests
  • clean remove all intermediate object files

Another option is to load a MS Visual Studio solution file ci-demo (or use it for MSBuild). The solution defines 2 projects ci-demo and ci-demo-testing corresponding to main and main-test targets of GNU Make respectably.

Running

The main binary is not configurable.

The testing binary responds to standard CATCH arguments, see the documentation.

Authors and licence

This project is developed at the Centre for Research on Cryptography and Security, Masaryk University, Brno, Czech Republic. The initial version was authored by Martin Ukrop in autumn 2014 for the purposes of CRoCS OpenLab.

It's licensed under MIT licence, see the file in the repository root. CATCH (src/catch.hpp) is licenced under Boost Software License.

git-travis-demo's People

Contributors

mukrop avatar mathius avatar santomet avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.