Use Python 3.6

This commit is contained in:
Sergei Antipov 2018-02-15 13:46:00 +07:00
parent cb8f408764
commit c10916547f
2 changed files with 4 additions and 3 deletions

View File

@ -4,6 +4,8 @@
dist: trusty dist: trusty
sudo: required sudo: required
language: python language: python
python:
- "3.6"
env: env:
- > - >
DISTRIBUTION=ubuntu-upstart DISTRIBUTION=ubuntu-upstart
@ -60,7 +62,7 @@ env:
services: services:
- docker - docker
before_install: install:
- bash tests/scripts/before_install.sh - bash tests/scripts/before_install.sh
script: script:

View File

@ -2,7 +2,7 @@
# -*- mode: sh; -*- # -*- mode: sh; -*-
# File: before_install.sh # File: before_install.sh
# Time-stamp: <2018-02-15 13:35:13> # Time-stamp: <2018-02-15 13:41:50>
# Copyright (C) 2018 Sergei Antipov # Copyright (C) 2018 Sergei Antipov
# Description: # Description:
@ -17,7 +17,6 @@ sudo apt-get install apt-transport-https
sudo apt-add-repository -y ppa:ansible/ansible sudo apt-add-repository -y ppa:ansible/ansible
sudo apt-get update sudo apt-get update
sudo apt-get install ansible python-pip -y sudo apt-get install ansible python-pip -y
python --version
ansible --version ansible --version
docker version docker version
sudo pip install docker-py sudo pip install docker-py