git » chasquid » commit 08e6f57

travis.yml: Use generic Go versions and Ubuntu Trusty

author Alberto Bertogli
2017-12-09 20:14:36 UTC
committer Alberto Bertogli
2017-12-09 20:14:36 UTC
parent 4851b07098cc85afb87acb7802a912090b450134

travis.yml: Use generic Go versions and Ubuntu Trusty

This patch updates the travis-ci.org configuration file to use generic Go
versions (instead of hard-coded), and Ubuntu Trusty in container mode, for
faster builds.

.travis.yml +8 -5

diff --git a/.travis.yml b/.travis.yml
index 32a2a99..7d618f8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,19 +2,22 @@
 
 language: go
 go_import_path: blitiri.com.ar/go/chasquid
+dist: trusty
+sudo: false
 
 go:
-    - 1.7
-    - 1.8
-    - tip
-
+    - 1.7  # Debian stable.
+    - stable
+    - master
 
 # This is needed because the repository has a Makefile, so travis won't invoke
 # "go get" by default.
 install:
     - go get blitiri.com.ar/go/chasquid
     - go get blitiri.com.ar/go/chasquid/cmd/chasquid-util
-
+    - go get blitiri.com.ar/go/chasquid/cmd/mda-lmtp
+    - go get blitiri.com.ar/go/chasquid/cmd/smtp-check
+    - go get blitiri.com.ar/go/chasquid/cmd/spf-check
 
 script:
     - make all