diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2020-01-11 19:49:31 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2020-01-11 20:03:37 +0300 |
commit | 1ec7d8826824db2cc5b7ed510dc4cca9224af11c (patch) | |
tree | 3041a4e52f7a2050578f1553119ec934b6337aec | |
parent | Travis: add comments to the workarounds (diff) | |
download | fr24feed-1ec7d8826824db2cc5b7ed510dc4cca9224af11c.tar.gz fr24feed-1ec7d8826824db2cc5b7ed510dc4cca9224af11c.zip |
Travis: switch to language: python
Apparently, the necessity of language: minimal was just a
misunderstanding on my part.
Diffstat (limited to '')
-rw-r--r-- | .travis.yml | 25 |
1 files changed, 9 insertions, 16 deletions
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 |