From 2c993b343393cd8d8cacd812db45a0b44554930a Mon Sep 17 00:00:00 2001 From: Felipe Contreras Date: Tue, 4 Jun 2019 02:30:40 -0500 Subject: [PATCH] travis: use check-versions tool Signed-off-by: Felipe Contreras --- .travis.yml | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/.travis.yml b/.travis.yml index cf7730b..be08357 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,25 +1,17 @@ -language: python -python: 2.7 +dist: xenial +language: minimal cache: - - pip - -install: - - if [ "$HG_VERSION" != "dev" ]; - then pip install Mercurial${HG_VERSION+==$HG_VERSION}; - else pip install http://selenic.com/repo/hg/archive/tip.tar.gz; - fi - -before_script: - - hg --version || true + directories: + - $HOME/.cache/git-remote-hg script: - - make test + - ./tools/check-versions hg:$HG_VERSION matrix: include: - env: - - env: HG_VERSION=dev + - env: HG_VERSION=@ - env: HG_VERSION=5.0 - env: HG_VERSION=4.9 - env: HG_VERSION=4.8