From 396d169567a63b1ff29aa4af54f8422cc4883fc6 Mon Sep 17 00:00:00 2001
From: Marco Ciotola <848222@stud.unive.it>
Date: Tue, 3 Mar 2020 18:21:34 +0100
Subject: [PATCH] [Travis] specify better matrix

---
 .travis.yml | 53 +++++++++++++++++++++++++++--------------------------
 1 file changed, 27 insertions(+), 26 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index d9701c6..77ba245 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,44 +1,45 @@
-sudo: false
-language: python
-python:
-  - "3.7"
-  - "3.8"
-
 os: linux
 
-before_install:
-  - export BOTO_CONFIG=/dev/null
-
-install:
-  - pip3 install --upgrade pip
-  - pip3 install -r requirements.txt
-  - pip3 freeze
-
-before_script:
-  - psql -c 'create database helios;' -U postgres
-
-script: "python3 -Wall manage.py test"
-
 jobs:
   include:
-  - dist: xenial
+  - python: "3.7"
+    dist: xenial
     addons:
       postgresql: "9.5"
-  - dist: xenial
+  - python: "3.7"
+    dist: xenial
     addons:
       postgresql: "9.6"
-  - dist: xenial
+  - python: "3.7"
+    dist: xenial
     addons:
       postgresql: "10"
-  - dist: bionic
+  - python: "3.8"
+    dist: bionic
     addons:
       postgresql: "9.5"
-  - dist: bionic
+  - python: "3.8"
+    dist: bionic
     addons:
       postgresql: "9.6"
-  - dist: bionic
+  - python: "3.8"
+    dist: bionic
     addons:
       postgresql: "10"
-  - dist: bionic
+  - python: "3.8"
+    dist: bionic
     addons:
       postgresql: "11"
+
+before_install:
+  - export BOTO_CONFIG=/dev/null
+
+install:
+  - pip3 install --upgrade pip
+  - pip3 install -r requirements.txt
+  - pip3 freeze
+
+before_script:
+  - psql -c 'create database helios;' -U postgres
+
+script: "python3 -Wall manage.py test -v 2"
-- 
GitLab