Commit 70ccd17c authored by Godefroid Chapelle's avatar Godefroid Chapelle

Problem: Travis tests only in containers

Solution: Add build on bare machine
parent b86517ae
language: minimal language: minimal
env:
- PYTHON_VER=2.7 BUILD_TYPE=centos_containers
- PYTHON_VER=3.5 BUILD_TYPE=centos_containers
- PYTHON_VER=3.6 BUILD_TYPE=centos_containers
- PYTHON_VER=3.7 BUILD_TYPE=centos_containers
- PYTHON_VER=3.8 BUILD_TYPE=centos_containers
- PYTHON_VER=3.9 BUILD_TYPE=centos_containers
- PYTHON_VER=2.7 BUILD_TYPE=debian_containers
- PYTHON_VER=3.5 BUILD_TYPE=debian_containers
- PYTHON_VER=3.6 BUILD_TYPE=debian_containers
- PYTHON_VER=3.7 BUILD_TYPE=debian_containers
- PYTHON_VER=3.8 BUILD_TYPE=debian_containers
- PYTHON_VER=3.9 BUILD_TYPE=debian_containers
jobs: jobs:
include:
- language: python
python: 2.7
env: BUILD_TYPE=bare_machines
- language: python
python: 3.5
env: BUILD_TYPE=bare_machines
- language: python
python: 3.6
env: BUILD_TYPE=bare_machines
- language: python
python: 3.7
env: BUILD_TYPE=bare_machines
- language: python
python: 3.8
env: BUILD_TYPE=bare_machines
- language: minimal
env: PYTHON_VER=2.7 BUILD_TYPE=centos_containers
- language: minimal
env: PYTHON_VER=3.5 BUILD_TYPE=centos_containers
- language: minimal
env: PYTHON_VER=3.6 BUILD_TYPE=centos_containers
- language: minimal
env: PYTHON_VER=3.7 BUILD_TYPE=centos_containers
- language: minimal
env: PYTHON_VER=3.8 BUILD_TYPE=centos_containers
- language: minimal
env: PYTHON_VER=3.9 BUILD_TYPE=centos_containers
- language: minimal
env: PYTHON_VER=2.7 BUILD_TYPE=debian_containers
- language: minimal
env: PYTHON_VER=3.5 BUILD_TYPE=debian_containers
- language: minimal
env: PYTHON_VER=3.6 BUILD_TYPE=debian_containers
- language: minimal
env: PYTHON_VER=3.7 BUILD_TYPE=debian_containers
- language: minimal
env: PYTHON_VER=3.8 BUILD_TYPE=debian_containers
- language: minimal
env: PYTHON_VER=3.9 BUILD_TYPE=debian_containers
allow_failures: allow_failures:
- env: PYTHON_VER=3.9 BUILD_TYPE=centos_containers - language: minimal
- env: PYTHON_VER=3.9 BUILD_TYPE=debian_containers env: PYTHON_VER=3.9 BUILD_TYPE=centos_containers
- language: minimal
env: PYTHON_VER=3.9 BUILD_TYPE=debian_containers
services: services:
- docker - docker
......
#!/bin/bash
set -x
set -e
cd ../..
# Travis Python comes with preinstalled six
# which breaks test suite
pip uninstall -y six || true
python dev.py
bin/test -c -vvv
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment