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

Integrate Travis #2

Closed
tomschr opened this issue Apr 23, 2018 · 1 comment
Closed

Integrate Travis #2

tomschr opened this issue Apr 23, 2018 · 1 comment
Assignees
Labels
enhancement 🍨 New feature or request infra 🔧 Anything about infrastructure
Milestone

Comments

@tomschr
Copy link
Contributor

tomschr commented Apr 23, 2018

Problem

In order to test stuff, we need to add a .travis.yml file.

Solution

A simple .travis.yml file could look like this (see Travis documentation for more information):

language: python
sudo: false
env:
  global:
    - LD_PRELOAD=/lib/x86_64-linux-gnu/libSegFault.so
    - SEGFAULT_SIGNALS=all

matrix:
  include:
    - env: TOXENV=flake8
    - env: TOXENV=3.4
      python: 3.4
    - env: TOXENV=3.5
      python: 3.5
    - env: TOXENV=3.6
      python: 3.6

before_install:
  - python3 --version
  - uname -a
  - lsb_release -a
  - virtualenv --version
  - easy_install --version
  - pip --version
  - tox --version

install:
  # - pip install -U pip setuptools
  - pip install -r dev-requirements.pip

script:
    - tox -v

before_cache:
  - rm -rf $HOME/.cache/pip/log

cache:
  directories:
    - $HOME/.cache/pip

notifications:
  email:
    on_success: never
    on_failure: always
@tomschr tomschr added the enhancement 🍨 New feature or request label Apr 23, 2018
@tomschr tomschr added this to the v0.2.0 milestone Apr 23, 2018
@tomschr tomschr added the infra 🔧 Anything about infrastructure label Apr 23, 2018
@termdew
Copy link

termdew commented Apr 24, 2018

Merged with #22 .

@termdew termdew closed this as completed Apr 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement 🍨 New feature or request infra 🔧 Anything about infrastructure
Projects
None yet
Development

No branches or pull requests

2 participants