Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion - update Continuous integration section to include basic yaml file #127

Open
pgryko opened this issue Mar 10, 2018 · 0 comments

Comments

@pgryko
Copy link

pgryko commented Mar 10, 2018

Location within the Book

  • Chapter 32: Continuous integration and Chapter 3.3 Makefiles/Fabric

Description

Provide an example .yaml file for building an docker container and running within travis-ci/gitlab-ci. The yaml files are quite short .e.g

language: python
python:

  • "2.7"
  • "3.3"
  • "3.4"
  • "3.5"
  • "3.6"

command to install dependencies

install:

  • pip install -r requirements.txt

command to run tests

script:

  • pytest # or py.test for Python versions 3.5 and below

I would also suggest updating the Chapter 3.3 Makefiles/Fabric to use .yaml to match what the CI & docker descriptions you have.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant