From d663faa6eb7a688b1dbfecb4a9410614a6e99a9d Mon Sep 17 00:00:00 2001
From: Ato Araki <ato.araki@gmail.com>
Date: Wed, 24 Feb 2021 22:34:21 +0900
Subject: [PATCH] ci: support osx

---
 .travis.yml | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 62d0347..92f2de9 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,10 +1,11 @@
 language: go
 
+os:
+ - linux
+ - osx
+
 go:
- - go1.4.3
- - go1.11.x
  - go1.13.x
- - go1.15.x
  - go1.x
 
 services:
@@ -14,7 +15,7 @@ before_install:
  - export DISPLAY=:99.0
 
 script:
- - sudo apt-get install xsel
+ - if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get install xsel; fi
  - go test -v .
- - sudo apt-get install xclip
+ - if [ "$TRAVIS_OS_NAME" = "linux" ]; then sudo apt-get install xclip; fi
  - go test -v .