summaryrefslogtreecommitdiff
path: root/.travis.yml
blob: 58c39857290ba34ca25192782507a2dac292c3cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
language: generic

sudo: required

services:
  - docker

env:
  - DIST=centos7 PYTHON=python PYTEST=py.test FLAKE8=true
  - DIST=fedora28 PYTHON=python3 PYTEST=py.test-3 FLAKE8=flake8-3
  - DIST=fedoradev PYTHON=python3 PYTEST=py.test-3 FLAKE8=flake8-3

before_install:
  - docker build -t $DIST -f test/Dockerfile-$DIST .

script:
  - docker run -e PYTHON=$PYTHON -e PYTEST=$PYTEST -e FLAKE8=$FLAKE8 $DIST test/docker-script.sh