From a6bbef3ca20fa3500c76422ce432a838fa9d876c Mon Sep 17 00:00:00 2001
From: Adar Nimrod <nimrod@shore.co.il>
Date: Tue, 10 Jan 2017 17:30:02 +0200
Subject: [PATCH] - Use anchors in .travis.yml to keep it DRY, avoid typos.

---
 .travis.yml | 15 ++++++---------
 1 file changed, 6 insertions(+), 9 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 17e77d2..80700dc 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -8,25 +8,22 @@ services: [docker]
 env:
     - platform: openbsd60
       driver: vagrant
-    - platform: openbsd59
-      driver: vagrant
+    - &openbsd59 platform=openbsd59 driver=vagrant
     - platform: xenial
       driver: vagrant
     - platform: trusty
       driver: vagrant
-    - platform: jessie
-      driver: vagrant
-    - platform: wheezy
-      driver: vagrant
+    - &jessie platform=jessie driver=vagrant
+    - &wheezy platform=wheezy driver=vagrant
     - driver: docker
       platform: all
 matrix:
     fast_finish: True
     allow_failures:
         - python: "3.5"
-        - env: platform=openbsd59 driver=vagrant
-        - env: platform=jessie driver=vagrant
-        - env: platform=wheezy driver=vagrant
+        - env: *openbsd59
+        - env: *jessie
+        - env: *wheezy
 cache:
   - pip
   - directories:
-- 
GitLab