Commit Graph

11 Commits

Author SHA1 Message Date
Fazlul Shahriar
5a445aacf8 scripts/get_buffalo.sh: use 'go get' to install outside of Travis (#415)
Since CONTRIBUTING.md and DEVELOPMENT.md asks the reader to run
'make setup-dev-env', which runs this script, it needs to be support
other platforms besides Linux.

Helps #397
2018-08-13 18:21:31 -07:00
Michal Pristas
5260639171 remove tempdir (#460) 2018-08-13 15:06:01 +02:00
Andrey Dyachkov
051f3884e1 Bring more clarity on how to run unit tests (#449)
* The commit brings more clarity on how to run unut tests.

The commit chages behaivour of `make test-unit` by adding sourcing of
env vars. Documentation is updated to provide more clarity on how to run
unit tests.

* changed list of commands to run before unit tests

* moved env vars to .env

* removed dduplicated env var

* returned conventional file name in script

* link to DEVELOPMENT.md

* fixed typo

* moved env var export to script

* removed export of tmp folder
2018-08-11 12:12:24 -07:00
Dinesh Kumar
4cc1b71007 Benchmark storages (#426)
* Adding benchmark for mongo and fs

* Adding delete, exists, save with other storages

* Fixing typos, adding nonexistent module exits benchmark

* Fixing delete operation in delete benchmark

* Separating non testing existing modules benchmark, shortening the benchmark name

* running benchmark in ci

* Revert "running benchmark in ci" - mongo index make duplicate records to
fail
idempotent, will fix in a separate PR.

This reverts commit f7d78262d2.

* Adding reset timer, fixing duplicate record issue

* Revert "Revert "running benchmark in ci" - mongo index make duplicate records to"

This reverts commit 40a7b33199.

* removing benchmark from ci

* Adding operation for returning errors
2018-08-10 01:34:42 -04:00
Rob j Loranger
dd16ce86f1 Fix up e2e script (#410)
* small fixes

* set GO111MODULES=auto

* set GO111MODULES=on after running buffalo

* use travis for go1.11beta3 not build from source

* set GO111MODULES=on before running buffalo

* revert GO111MODULE placement to after buffalo dev, comment w/ issue link

* oops

* spaces too
2018-08-09 16:09:39 -07:00
Marwan Sulaiman
44625459fc Download: move cache location (#404)
* Download: move cache location

* beta3

* trying differnet repo

* avoid go breaking stuff
2018-08-04 11:29:30 -07:00
Carolyn Van Slyck
f1efadeed3 Run E2E tests during CI (#363)
* Use go1.11beta2 instead of vgo

* Make the go 1.11 source directory configurable

Don't error out if it's been cloned already

* Add end-to-end (e2e) tests

* Make sure the repo bin is on the path

* Call the dev target from setup-dev-env

* Use the same dev setup on travis and locally
2018-08-03 16:40:33 +02:00
Michal Pristas
1c769b5adb fetch origin master (#389) 2018-08-03 07:19:45 -07:00
Carolyn Van Slyck
21cd7239db Make it easier to run all the same commands that Travis does (#362)
* Make it easier to run all the same commands that Travis does

* Add target to install dev tools

* Dirty a temp directory instead of the repo root

* Explain our new make targets

* Set a TMPDIR on travis

* Fix comment
2018-07-30 13:27:40 -07:00
Rob j Loranger
6ebc8f0c85 add check for gopkgs to run dep ensure on changes (#268)
* add check for gopkgs to run dep ensure on changes

also remove windows line endings on .travis.yml again

* clean up script
2018-07-14 20:48:09 +02:00
Aaron Schlesinger
91b4f9c876 WIP: always downloading a fixed buffalo CLI version (#230)
* always downloading a fixed buffalo CLI version

As of this writing, latest is v0.12.3

* moving the buffalo binary to a permitted place

also making the binary executable

* composing buffalo URL with tar_gz env var
2018-07-09 14:23:45 -07:00