Skip to content

Commit

Permalink
update travis
Browse files Browse the repository at this point in the history
Signed-off-by: Jess Frazelle <acidburn@jessfraz.com>
  • Loading branch information
jessfraz committed May 25, 2019
1 parent bee26b2 commit 06ee828
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
@@ -1,7 +1,7 @@
language: go
sudo: false
go:
- 1.10.x
- 1.11.x
before_install:
- go get golang.org/x/lint/golint
- go get honnef.co/go/tools/cmd/staticcheck
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2018 Jessica Frazelle
Copyright (c) 2019 Jessica Frazelle

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion main.go
Expand Up @@ -176,7 +176,7 @@ func createStaticIndex(p cloud, staticDir string) error {
logrus.Infof("fetching files from %s", p.BaseURL())
files, err := p.List(p.Prefix(), p.Prefix(), "", max, q)
if err != nil {
return fmt.Errorf("Listing all files in bucket failed: %v", err)
return fmt.Errorf("listing all files in bucket failed: %v", err)
}

// set up custom functions
Expand Down
2 changes: 1 addition & 1 deletion provider.go
Expand Up @@ -83,7 +83,7 @@ func getRegion(name string) (aws.Region, error) {
}
region, ok := regions[name]
if !ok {
return aws.Region{}, fmt.Errorf("No region matches %s", name)
return aws.Region{}, fmt.Errorf("no region matches %s", name)
}
return region, nil
}
3 changes: 0 additions & 3 deletions s3.go
@@ -1,8 +1,6 @@
package main

import (
"context"

"cloud.google.com/go/storage"
"github.com/mitchellh/goamz/s3"
)
Expand All @@ -12,7 +10,6 @@ type s3Provider struct {
prefix string
baseURL string
client *s3.S3
ctx context.Context
b *s3.Bucket
}

Expand Down

0 comments on commit 06ee828

Please sign in to comment.