Skip to content

Commit e07d7fe

Browse files
committed
Update README.md and run evergreen with Go 1.9.5
Change-Id: If3008a4970bd9f631424be3069f10a9c886071dc
1 parent f172d27 commit e07d7fe

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

.evergreen/config.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,18 @@ functions:
6464
export PATH="${GCC_PATH}:$GOPATH/bin:$MONGODB_BINARIES:$PATH"
6565
export PROJECT="${project}"
6666
67+
if [ "Windows_NT" = "$OS" ]; then
68+
export USERPROFILE=$(cygpath -w $(dirname $(dirname $(dirname $(dirname `pwd`)))))
69+
export HOME=$(cygpath -w $(dirname $(dirname $(dirname $(dirname `pwd`)))))
70+
fi
71+
72+
go get -u github.com/andrewkroh/gvm
73+
eval "$(gvm -f bash 1.9.5)"
74+
gvm -f bash 1.9.5
75+
76+
go version
77+
go env
78+
6779
cat <<EOT > expansion.yml
6880
CURRENT_VERSION: "$CURRENT_VERSION"
6981
DRIVERS_TOOLS: "$DRIVERS_TOOLS"
@@ -75,6 +87,7 @@ functions:
7587
set -o errexit
7688
set -o xtrace
7789
export GOPATH="$GOPATH"
90+
export GOROOT="$GOROOT"
7891
export DRIVERS_TOOLS="$DRIVERS_TOOLS"
7992
export MONGO_ORCHESTRATION_HOME="$MONGO_ORCHESTRATION_HOME"
8093
export MONGODB_BINARIES="$MONGODB_BINARIES"

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,28 @@
33
MongoDB Driver for Go.
44

55
-------------------------
6+
- [Requirements](#requirements)
7+
- [Installation](#installation)
68
- [Bugs/Feature Reporting](#bugs-feature-reporting)
79
- [Testing / Development](#testing--development)
810
- [Continuous Integration](#continuous-integration)
911
- [License](#license)
1012

13+
-------------------------
14+
## Requirements
15+
16+
- Go 1.9 or higher. We aim to support the latest supported versions go.
17+
- MongoDB 3.2 and higher.
18+
19+
-------------------------
20+
## Installation
21+
22+
The recommended way to get started using the MongoDB Go driver is by using `dep` to install the dependency in your project.
23+
24+
```bash
25+
dep ensure -add github.com/mongodb/mongo-go-driver/mongo
26+
```
27+
1128
-------------------------
1229
## Bugs / Feature Reporting
1330

0 commit comments

Comments
 (0)