Переглянути джерело

Merge pull request #7124 from tianon/travis-compile

Adjust Travis to also compile, to test that compilation still succeeds
Tianon Gravi 11 роки тому
батько
коміт
ed92c3f964
1 змінених файлів з 3 додано та 1 видалено
  1. 3 1
      .travis.yml

+ 3 - 1
.travis.yml

@@ -11,7 +11,8 @@ go: 1.2.1
 sudo: false
 sudo: false
 
 
 # Disable the normal go build.
 # Disable the normal go build.
-install: true
+install:
+  - export DOCKER_BUILDTAGS='exclude_graphdriver_btrfs exclude_graphdriver_devicemapper' # btrfs and devicemapper fail to compile thanks to a couple missing headers (which we can't install thanks to "sudo: false")
 
 
 before_script:
 before_script:
   - env | sort
   - env | sort
@@ -19,5 +20,6 @@ before_script:
 script:
 script:
   - hack/make.sh validate-dco
   - hack/make.sh validate-dco
   - hack/make.sh validate-gofmt
   - hack/make.sh validate-gofmt
+  - AUTO_GOPATH=1 ./hack/make.sh dynbinary
 
 
 # vim:set sw=2 ts=2:
 # vim:set sw=2 ts=2: