tahoe-lafs/.circleci/config.yml

79 lines
1.6 KiB
YAML
Raw Normal View History

# https://circleci.com/docs/2.0/
version: 2
workflows:
version: 2
ci:
jobs:
- "lint"
2018-06-08 19:52:29 +00:00
- "debian-8"
- "debian-9"
jobs:
lint:
docker:
- image: "circleci/python:2"
steps:
- "checkout"
- run:
name: "Static-ish code checks"
command: |
2018-06-08 18:47:00 +00:00
pip install --user tox
~/.local/bin/tox -e codechecks
2018-06-08 18:58:25 +00:00
2018-06-08 19:52:29 +00:00
debian-8:
2018-06-08 18:58:25 +00:00
docker:
- image: "debian:8"
steps:
- "checkout"
- run:
name: "Bootstrap test environment"
command: |
apt-get --quiet update
apt-get --quiet --yes install \
build-essential \
python2.7 \
python2.7-dev \
libffi-dev \
libssl-dev \
libyaml-dev \
virtualenv
virtualenv --python python2.7 tests
tests/bin/pip install tox
- run:
name: "Run test suite"
command: |
tests/bin/tox -e py27
2018-06-08 19:52:29 +00:00
debian-9:
docker:
- image: "debian:9"
steps:
- "checkout"
- run:
name: "Bootstrap test environment"
command: |
apt-get --quiet update
apt-get --quiet --yes install \
build-essential \
python2.7 \
python2.7-dev \
libffi-dev \
libssl-dev \
libyaml-dev \
virtualenv
virtualenv --python python2.7 tests
tests/bin/pip install tox
- run:
name: "Run test suite"
command: |
tests/bin/tox -e py27