Commit c46537b3 authored by Loïck Bonniot's avatar Loïck Bonniot
Browse files

Merge branch 'fix_ci' into 'master'

Fix ci

- Installed Golang 1.6beta2 on main runners
- Updated docker image
- Updated gometalinter with `interfacer` > fixed mail library warning
- Added update instruction in build to avoid surprises

I'll close it by myself for speed, leaving it here for memory.

See merge request !14
parents e6553f47 7b420e9b
Pipeline #179 passed with stage
before_script:
- go version
stages:
- test
......@@ -47,4 +50,4 @@ Code lint:
- "./build/deps.sh"
- "go install ./..."
- "gometalinter --install"
- "gometalinter -t --deadline=100s -j1 ./..."
- "gometalinter -t --deadline=300s -j1 --skip=api --skip=fixtures ./..."
#!/bin/sh
# mongo
go get gopkg.in/mgo.v2
# grpc
go get google.golang.org/grpc
# uuid
go get github.com/pborman/uuid
\ No newline at end of file
go get -u gopkg.in/mgo.v2
go get -u github.com/golang/protobuf/proto
go get -u github.com/golang/protobuf/protoc-gen-go
go get -u google.golang.org/grpc
go get -u github.com/pborman/uuid
......@@ -129,7 +129,7 @@ func createHeader(sender, subject, boundary string) string {
}
// Create the full message for a single receiver
func createFullMessage(b *bytes.Buffer, receiver, sender, globalHeader, base64Message string, extensions, filenames []string, boundary string) error {
func createFullMessage(b io.Writer, receiver, sender, globalHeader, base64Message string, extensions, filenames []string, boundary string) error {
fmt.Fprintf(b, "%s%s\r\n", globalHeader, receiver)
writer := multipart.NewWriter(b)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment