From 1ec7d8826824db2cc5b7ed510dc4cca9224af11c Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 11 Jan 2020 19:49:31 +0300 Subject: Travis: switch to language: python Apparently, the necessity of language: minimal was just a misunderstanding on my part. --- .travis.yml | 25 +++++++++---------------- 1 file changed, 9 insertions(+), 16 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 6414cb9..cd1be49 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,22 +1,15 @@ # docker-compose is missing on arm64, have to install it manually. -# language: python seems to force arch: amd64, which is not what I want. -language: minimal +language: python +python: '3.7' os: linux dist: bionic arch: arm64 -# Dunno why cache: pip doesn't simply work. -cache: - directories: - - "$HOME/.cache/pip" -addons: - apt: - update: true - packages: - - python3-dev - - python3-pip - - python3-setuptools - - python3-wheel +cache: pip +env: + DOCKER_COMPOSE_VERSION: '1.25.1' services: - docker -install: pip3 install -IU docker-compose -script: docker-compose build +install: + - pip3 install -IU "docker-compose==$DOCKER_COMPOSE_VERSION" +script: + - docker-compose build -- cgit v1.2.3