From f7a757c71698791606df73964022627787699efd Mon Sep 17 00:00:00 2001
From: Hugo Locurcio <hugo.locurcio@hugo.pro>
Date: Mon, 29 Jul 2019 00:48:21 +0200
Subject: [PATCH] Travis CI: Use the `bionic` distribution

---
 .travis.yml | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index a032acb..32a776a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,16 +1,16 @@
-language: generic
+dist: bionic
+language: python
 
-addons:
-  apt:
-    packages:
-    - luarocks
+python:
+  - 3.7.1
 
 install:
-  - pyenv global 3.6.3
-  - pip3 install --user pre-commit
+  - sudo apt-get update -qq
+  - sudo apt-get install -qqq luarocks
+  - pip3 install pre-commit
   - luarocks install --local luacheck
 
 script:
   # All linters are run with pre-commit hooks
   - export PATH="$HOME/.luarocks/bin:$PATH"
-  - $HOME/.local/bin/pre-commit run --all-files
+  - pre-commit run --all-files
-- 
GitLab