Giter VIP home page Giter VIP logo

travis-tutorial's Introduction

Build Status

Install instructions

Make sure you have a github account: https://github.com/join

Make sure you have python installed with pytest and numpy. If you don't have a python install you are already familiar with, the simplest is to install miniconda (full instructions at https://conda.io/docs/install/quick.html). Once this is done, type the following command in a terminal:

conda install pytest numpy

Checking your install

To make sure everything is installed correctly, please run the following commands in a terminal:

git clone https://github.com/lesteve/travis-tutorial
cd travis-tutorial
pytest # note use py.test if you are using a version of pytest < 3

It should give an output similar to this:

======================================================== test session starts ========================================================
platform linux -- Python 3.5.2, pytest-3.0.5, py-1.4.31, pluggy-0.4.0
rootdir: /tmp/travis-tutorial, inifile: 
plugins: cov-2.3.1
collected 1 items 

test_all.py .

===================================================== 1 passed in 0.00 seconds ======================================================

Travis docker image

Depending on available time we may cover how to debug Travis failures on your local machine with docker. If you are interested by this, you may want to pull the docker image before the workshop:

docker pull travisci/ci-garnet:packer-1478744932

travis-tutorial's People

Contributors

adumasphi avatar lesteve 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.