edsrzf / mmap-go

A portable mmap package for Go
BSD 3-Clause "New" or "Revised" License
938 stars 129 forks source link

Added automated testing and go modules #17

Closed blaubaer closed 5 years ago

blaubaer commented 5 years ago
  1. Added travis configuration to be able to run tests on Linux, macOS and Windows. Please see this build run on TravisCI how it could look like. If you like it:
    1. Just go to travis-ci.org
    2. Log in
    3. Grant TravisCI permissions to your repositories
    4. Activate TravisCI for your project edsrzf/mmap-go DONE! 😄
  2. Enable Golang Modules (https://github.com/golang/go/wiki/Modules) - In the next release just create a tag and other people can use this repo as regular Go Module. (without weird GOPATH or vendor stuff). The tag has to match the pattern: v[0-9]+\.[0-9]+\.[0-9]+
  3. Prevent FlushFileBuffers on Windows of Map is not writable - I need to do this because the tests where failing in Travis 😃
blaubaer commented 5 years ago

@edsrzf: Following https://travis-ci.org/edsrzf/mmap-go it works! 😄