GithubHelp home page GithubHelp logo

trevistest's Introduction

Travis-CI

Build Status

The aim of this exercise is to set up a github repo to work with travis-ci We will be using the solution of the exercise "MatrixExp_with_CMake" for this step.

  • go to your github account and create a new PUBLIC repo

  • go to trevis-ci.org and from there sign-in in your github account. Allow travis to access your account.

  • on your machine, create a git repository, and put inside the CMakeLists.txt and the src/ folder from the solution of the exercise "MatrixExp_with_CMake"

  • (for compatibility with travis (which uses gcc-4.6, in CMakeLists.txt modify the std=c++11 in c++0x, or set the USE_CXX11 to be "OFF" as default)

  • create a .travis.yml file in the root of your repo The file should contain

      language: c
      compiler:
      - gcc
      before_script:
      - cmake .
      - make
      script:
      - ctest
    
  • The build will fail, since no fortran compiler is installed on travis by default. Add the following line just before the "before_script"

      before_install:
      sudo apt-get install gfortran
    

trevistest's People

Contributors

gbrandino avatar

Watchers

James Cloos avatar  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.