aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2020-01-11 19:49:31 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2020-01-11 20:03:37 +0300
commit1ec7d8826824db2cc5b7ed510dc4cca9224af11c (patch)
tree3041a4e52f7a2050578f1553119ec934b6337aec
parentTravis: add comments to the workarounds (diff)
downloadfr24feed-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.yml25
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