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

[RFE] Use Travis-CI for beakerlib repository on github #27

Open
mnalband opened this issue Feb 27, 2018 · 1 comment
Open

[RFE] Use Travis-CI for beakerlib repository on github #27

mnalband opened this issue Feb 27, 2018 · 1 comment

Comments

@mnalband
Copy link
Contributor

Description:

Every time, when we add some commits/PR, etc to the repo, there is no any run with sanity checks (e.g.unit-tests). We can add, for example Travis-CI feature to solve that problem.

Steps:

  1. Authenticate with OAuth on https://travis-ci.org/ (should do the maintainer of the repository).
  2. Flick the repository switch on here:
    https://travis-ci.org/profile/$USERNAME
  3. Add to root file .travis.yml such as:
language: bash

sudo: false

install:
    - pip install -U pip
    - pip install --user -U rpm

before_script: cd src/test

script:
- bash test.sh 
  1. Somehow skip tests, that are expected to fail. From beakerlib/src/test/README

Some of the tests are expected to fail (backup functions
need root permission and the coverage test suite fails because...
well because the coverage is not complete... yet :-)

I didn't add them because I faced with another problem (specific for beakerlib project): check out build log here:
https://travis-ci.org/mnalband/beakerlib/builds/346725708

@sopos
Copy link
Member

sopos commented Feb 27, 2018

that looks like pretty old version of beakerlib you have cloned

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

2 participants