git » chasquid » commit db13063

Add configuration file for https://travis-ci.org/

author Alberto Bertogli
2016-11-03 22:57:08 UTC
committer Alberto Bertogli
2016-11-04 00:20:26 UTC
parent df673c63fba6a986ce3665ca18432e1696a61a6f

Add configuration file for https://travis-ci.org/

This commit adds a .travis.yml which configures https://travis-ci.org/, a
continuous integration service.

It only builds and runs "go test" for now because their environment is
unfortunately too old to run the integration tests.

.travis.yml +22 -0

diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..527d65d
--- /dev/null
+++ b/.travis.yml
@@ -0,0 +1,22 @@
+# Configuration for https://travis-ci.org/
+
+language: go
+go_import_path: blitiri.com.ar/go/chasquid
+
+go:
+    - 1.7
+    - tip
+
+
+# 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
+
+
+script:
+    - make all
+    - go test ./...
+    - go test -race ./...
+