David Kaltschmidt
271bcbde19
Correct path for scope version command
2015-12-15 12:07:47 +01:00
Tom Wilkie
bcd346ab5b
Release script should use make tests to run tests.
2015-11-03 17:25:39 +00:00
Peter Bourgon
4a7a7a6dda
Another fix from the old release script
2015-10-01 10:54:24 -04:00
Peter Bourgon
79356100d7
We don't 'make test', we do something else
2015-10-01 10:44:13 +02:00
Peter Bourgon
6744a3677f
Latest bin/release script from weave repo
2015-10-01 10:00:21 +02:00
Paul Bellamy
fc75b3dc58
fixing bin/release
2015-08-19 10:22:31 +01:00
Tom Wilkie
efeba4a2ed
Use rebuild-image script from tools.git
...
- Add some extra files to build image
- Add make to UI build container
2015-08-17 16:26:06 +00:00
Tom Wilkie
3a1f376c29
Use tools.git
2015-08-17 16:26:04 +00:00
David Kaltschmidt
988e2e05d7
Renamed app to scope-app in release script
2015-07-16 16:38:43 +02:00
Peter Bourgon
ac29fba7bc
Don't fail if CACHE_DIR has a missing component
...
Also, don't invoke weave if it's not running.
2015-07-13 16:03:19 +02:00
Tom Wilkie
cf261282e2
Detect when to rebuild cached build image.
2015-07-08 15:43:48 +00:00
Tom Wilkie
d2d73c3cd4
Add -cpu 4 to tests.
2015-07-06 15:07:33 +00:00
Paul Bellamy
08f62aa4cb
Merge pull request #273 from paulbellamy/integration-tests
...
First pass at integration tests
2015-07-03 09:55:37 +01:00
Peter Bourgon
90a0286909
Refactor tests to have appropriate packages
...
By default, tests should be in package pkg_test. If they need to test
package internals, they can be in package pkg, but then should carry a
suffix of foo_internal_test.go.
This changeset enforces that idiom across the codebase, and adds a check
to the linter to make sure it remains.
Also, some fixes to comments.
2015-06-29 18:06:44 +02:00
Paul Bellamy
ff9771f112
initial integration test setup
...
Integration tests are only run on circle. They checkout the weave
project, and use test helpers from there.
There are just a few basic tests for now, to confirm it works.
2015-06-29 15:40:40 +01:00
Tom Wilkie
3daea81890
Merge pull request #252 from tomwilkie/208-test
...
Don't calculate coverage metrics in bin/test by default.
2015-06-17 18:35:59 +02:00
Tom Wilkie
48a75cdc76
Don't caclulate coverage metrics in bin/test by default.
2015-06-17 14:57:36 +00:00
Tom Wilkie
617106829a
Add simple spellchecking to linter.
2015-06-17 10:16:43 +00:00
Peter Bourgon
dcb23a517a
bin/release: fix sed invocation
2015-06-15 12:49:47 +02:00
Tom Wilkie
bd9865f217
Introduce ./bin/test -slow, run by circle. Allow developers to run faster tests.
2015-06-10 15:54:09 +00:00
Tom Wilkie
20618a16c7
Start testing with the race detector.
2015-06-08 15:01:01 +00:00
Tom Wilkie
b858f76a40
Ignore releases/ directory.
2015-06-02 16:03:07 +00:00
Tom Wilkie
2d430895e3
Plumbing for releases stolen straight from weave.
2015-06-01 15:17:32 +00:00
Tom Wilkie
924c8b84e6
Add errcheck to our bin/test script (doesn't fit well with lint)
2015-05-26 15:43:17 +00:00
Tom Wilkie
f11168c051
Make bin/test download test dependancies.
2015-05-22 15:02:36 +00:00
Tom Wilkie
4c3912edf0
Add lint script; run it on circle. Intentionally don't lint static.go.
2015-05-19 10:43:04 +00:00
Peter Bourgon
578b6dfcba
Don't test experimental stuff
2015-05-19 10:05:05 +00:00
Peter Bourgon
2ba9dab7bd
integration: becomes experimental; remove support in bin/test
2015-05-19 10:05:05 +00:00
Tom Wilkie
4598d37ecd
Add circle ci config and test script.
2015-05-19 10:05:04 +00:00