Coder Social home page Coder Social logo

calculadora-ci's Introduction

Calculator

Build Status

Este é um repositório para estudo e prática de integração contínua(CI) em Python utilizando Travis como ferramenta de CI.

Download

Se você deseja seguir o desenvolvimento da calculadora, você pode baixar o código fonte através do git: git clone https://github.com/wagnerfns/calculator.git.

Instalação

Para utilizar o Travis CI é necessário possuir uma conta e sincronizar ela ao GitHub, para aprender como configurar acesse Como usar o Travis em 15 passos

Para executar o teste localmente você precisa ter instalado pip install -U pytest e pip install unittest2.

Como executar o teste local

Acesse o diretório calculator, para executar o teste localmente use o comando pytest.

Resultado esperado:

====================================== test session starts =======================================
platform linux -- Python 3.6.5, pytest-3.5.1, py-1.5.3, pluggy-0.6.0
rootdir: /home/user/calculator, inifile:
plugins: remotedata-0.2.1, openfiles-0.3.0, doctestplus-0.1.3, arraydiff-0.2
collected 6 items                                                                                

test/test_core.py ......                                                                    [100%]

==================================== 6 passed in 0.02 seconds ====================================

Contribuindo

  1. Faça o fork do projeto (https://github.com/seunome/seuprojeto/fork)
  2. Crie uma branch para sua modificação (git checkout -b feature)
  3. Faça o commit (git commit -am 'Add derivada')
  4. Push (git push origin feature)
  5. Crie um novo Pull Request

calculadora-ci's People

Contributors

wagnernegrao 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.