aboutsummaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorJoseph Richey <joerichey@google.com>2019-10-25 17:15:27 -0700
committerGitHub <noreply@github.com>2019-10-25 17:15:27 -0700
commitb24e4ccd245861f7537f17c3e01be2cbefb1b29e (patch)
tree41270d37811b1410b7d1cad9bc9fa9e2cdfd3447 /.travis.yml
parent5d888ac2c654a3ac00cd4b608cba0ca1dce47678 (diff)
Delete vendored code and update CI to Go 1.13 (#158)
As the Go community transitions to using the modules ecosystem, we want to only support one way of managing dependencies. So this change moves to only using Go modules for dependency management. This means that our effective minimum Go version increases to Go 1.11. To account for this, we also update: - the documentation - Makefile - CI scripts
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml15
1 files changed, 9 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml
index eb2176a..82dbc3a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,7 +1,7 @@
language: go
sudo: false
dist: bionic
-go: 1.12.x
+go: 1.13.x
notifications:
email: false
@@ -21,7 +21,7 @@ jobs:
script: make
- stage: presubmits
- env: Generate, Format, and Lint
+ name: Generate, Format, and Lint
install:
- make tools
script:
@@ -32,16 +32,19 @@ jobs:
- make lint
- &build
- env: Build and Unit Tests
+ name: Build and Unit Tests
install: skip
script:
- - go build github.com/google/fscrypt/cmd/fscrypt
+ - go get github.com/google/fscrypt/cmd/fscrypt
- make
- <<: *build
+ go: 1.12.x
+
+ - <<: *build
go: 1.11.x
- - env: Integration Tests
+ - name: Integration Tests
sudo: required
addons:
apt:
@@ -57,7 +60,7 @@ jobs:
- goveralls -coverprofile=coverage.out -service=travis-ci
- stage: deploy
- env: Release Binaries
+ name: Release Binaries
install: skip
script: skip
before_deploy: make