Skip to content

Commit 87b8358

Browse files
authored
Speed up 'go get' (#51)
Update cs-demos submodule - New revision contains a config entry lfs.fetchexclude = * That way the end user doesn't have to download all the test data Travis: Download test data Remove note regarding go get speed in README
1 parent 7423c19 commit 87b8358

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ go:
99
install:
1010
# We need goverage to run go tests with -coverprofile for multiple packages
1111
- go get github.com/haya14busa/goverage
12+
# Download test data
13+
- pushd cs-demos && git lfs pull -I '*' && popd
1214

1315
before_script:
1416
# We don't want to run the demo set test with race condition testing.

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ There are also [some other rooms](https://gitter.im/csgodemos) available around
1717

1818
## Go Get
1919

20-
This might take a while if you have Git LFS installed as it downloads the test-data set (~ 10 demos).
21-
2220
go get -u github.com/markus-wa/demoinfocs-golang
2321

2422
## Example
@@ -145,7 +143,7 @@ To run tests [Git LFS](https://git-lfs.github.com) is required.
145143
```sh
146144
git submodule init
147145
git submodule update
148-
pushd cs-demos && git lfs pull && popd
146+
pushd cs-demos && git lfs pull -I '*' && popd
149147
go test
150148
```
151149

cs-demos

Submodule cs-demos updated from 28d6183 to 627fd76

0 commit comments

Comments
 (0)