Skip to content
This repository has been archived by the owner on Jun 27, 2022. It is now read-only.

Commit

Permalink
Updated to build on Go 1.10.x
Browse files Browse the repository at this point in the history
  • Loading branch information
fterrag committed Apr 20, 2018
1 parent d762a92 commit 18db560
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions .travis.yml
@@ -1,14 +1,12 @@
language: go

go:
- 1.6
- 1.7
- 1.8
- 1.9
- 1.10.x

before_install:
- go get github.com/mattn/goveralls
- git clone https://github.com/jmcnamara/libxlsxwriter.git && cd libxlsxwriter && git checkout 79a9b41fd293dd4057b1fe43e3f8e13c7b242f6b && make && sudo INSTALL_DIR=/usr make install && cd .. && rm -rf libxlsxwriter
- git clone https://github.com/jmcnamara/libxlsxwriter.git && cd libxlsxwriter && make && sudo INSTALL_DIR=/usr make install && cd .. && rm -rf libxlsxwriter

script:
- $HOME/gopath/bin/goveralls -service=travis-ci -ignore "examples/*/*.go"
- $HOME/gopath/bin/goveralls -service=travis-ci -ignore "examples/*/*.go" -v
2 changes: 1 addition & 1 deletion format.go
Expand Up @@ -105,7 +105,7 @@ func (f *Format) SetFontName(fontName string) {

// SetFontSize sets the font size.
func (f *Format) SetFontSize(size int) {
cSize := (C.uint16_t)(size)
cSize := (C.double)(size)

C.format_set_font_size(f.CFormat, cSize)
}
Expand Down

0 comments on commit 18db560

Please sign in to comment.