Ethan Frey
9657d183f8
Remove CGO_ENABLED=0 from make install
It was writing to stdlib packages net, x/crypto, etc. and failing when it didn't have write access to them (which it often shouldn't)
Fixes issue #941
Explained in golang issue: golang/go#18981 (fixed in develop/1.10)
7 years ago
Anton Kaliaev
ebdc7ddf20
add missing get_vendor_deps to "make all"
7 years ago
Anton Kaliaev
76cccfaabd
get_vendor_deps does not require all the tools
- remove revision cmd
- rename ensure_tools to tools
7 years ago
Anton Kaliaev
440d76647d
rename release to test_release
7 years ago
Anton Kaliaev
2cc2fade06
remove -extldflags "-static"
golang builds static libraries by default.
7 years ago
Anton Kaliaev
3318cf9aec
do not suppose that GOPATH is added to PATH
```
brew install tendermint --HEAD
==> Installing tendermint from tendermint/tendermint
==> Cloning https://github.com/tendermint/tendermint.git
Cloning into '/Users/antonk/Library/Caches/Homebrew/tendermint--git'...
remote: Counting objects: 437, done.
remote: Compressing objects: 100% (412/412), done.
remote: Total 437 (delta 7), reused 129 (delta 2), pack-reused 0
Receiving objects: 100% (437/437), 3.04 MiB | 1006.00 KiB/s, done.
Resolving deltas: 100% (7/7), done.
==> Checking out branch develop
==> make get_vendor_deps
Last 15 lines from /Users/antonk/Library/Logs/Homebrew/tendermint/01.make:
2017-12-04 14:54:54 -0600
make
get_vendor_deps
go get github.com/mitchellh/gox github.com/tcnksm/ghr github.com/Masterminds/glide github.com/alecthomas/gometalinter
make: gometalinter: No such file or directory
make: *** [ensure_tools] Error 1
If reporting this issue please do so at (not Homebrew/brew or Homebrew/core):
https://github.com/tendermint/homebrew-tendermint/issues
```
7 years ago
Anton Kaliaev
ceb8ba2e15
comment out gas linter for now
7 years ago
Ethan Buchman
d9c87a21a6
run metalinter in make test and run_test.sh
7 years ago
Zach Ramsay
c4caad7720
lint madness
7 years ago
Zach Ramsay
2563b4fc92
lint fixes
7 years ago
Zach Ramsay
6f3c05545d
fix new linting errors
7 years ago
Zach Ramsay
c84c7250ba
linting: few more fixes
7 years ago
Zach Ramsay
fe37afc0d7
do i need this?
7 years ago
Zach Ramsay
7ad8a8ab55
Tests almost passing
7 years ago
Zach Ramsay
a15c7f221d
linting: moar fixes
7 years ago
Zach Ramsay
d7cb291fb2
errcheck; sort some stuff out
7 years ago
Zach Ramsay
bc2aa79f9a
linter: sort through each kind and address small fixes
7 years ago
Zach Ramsay
48aca642e3
linter: address deadcode, implement incremental lint testing
7 years ago
Zach Ramsay
fc33576bac
linting: replace megacheck with metalinter
7 years ago
Emmanuel Odeke
6e5cd10399
rpc/lib/client: jitter test updates and only to-be run on releases
* Updated code with feedback from @melekes , @ebuchman and @silasdavis .
* Added Makefile clause `release` to only run the test on seeing tag
`release` during releases i.e
```shell
make release
```
which will run the comprehensive and long integration-ish tests.
7 years ago
Ethan Buchman
91a3cb0f21
makefile: remove megacheck
7 years ago
Anton Kaliaev
40b5defe18
release script [ci skip]
7 years ago
Ethan Buchman
66fcdf7c7a
minor fixes
7 years ago
Adrian Brink
2c129447fd
Example that showcases how to build your own tendermint node
This example shows how a user of the tendermint library can build their
own node and supply it with its own commands. It includes two todos in
order to make it easier for library users to use tendermint.
7 years ago
zramsay
9c3eee0b00
Makefile: add megacheck & some additional fixes
8 years ago
Adrian Brink
cd3c3c3bad
Modify makefile
8 years ago
Adrian Brink
8c91014cd8
Add git commit hash to version.
8 years ago
Adrian Brink
6312eb91be
Change "make build" to set GitCommit variable
As described above.
8 years ago
Ethan Buchman
5da9b3a803
postmerge
8 years ago
Ethan Buchman
0017fb7ffe
premerge
8 years ago
Adrian Brink
cf875a51fd
Fix draw_deps in Makefile and add resulting dependency graph
8 years ago
Anton Kaliaev
5f6de800a0
rename TMROOT to TMHOME (Refs #431 )
8 years ago
Anton Kaliaev
d66ebbd904
use testify package
8 years ago
Anton Kaliaev
51d760f29f
use local import for testing
8 years ago
Anton Kaliaev
d43e3db978
fix circleci
8 years ago
Anton Kaliaev
e1d5873bdf
support key-value params in JSONRPC (Refs #1 )
More changes:
- remove Client interface (reason: empty)
- introduce HTTPClient interface, which can be used for both ClientURI
and ClientJSONRPC clients (so our users don't have to create their own) (Refs #8 )
- rename integration tests script to `integration_test.sh`
- do not update deps on `get_deps`
8 years ago
Ethan Frey
42a9b847ec
Make all client tests safe to run in parallel
8 years ago
Ethan Frey
0905332f1d
MockClient for real abci app
8 years ago
Anton Kaliaev
d38a6e329f
verbose output when get_deps
8 years ago
Ethan Buchman
bb5688b1be
make: dont use -v on go test
8 years ago
Ethan Frey
d4b3dde853
make install now uses vendored dependencies
8 years ago
Anton Kaliaev
d5d7286cb6
improve circleci config
- update docker machine version to 0.9.0
- save coverage.txt as artifact
- save docker logs as artifact
- test if coverage.txt exists
- 2>&1 redirect stderr to stdout in tests
8 years ago
Anton Kaliaev
65dfacac4b
do we really have to build in order to test?
8 years ago
Anton Kaliaev
cc2457f7d5
dist command to make binaries and package them for distribution
8 years ago
Anton Kaliaev
c6375e414d
refactor Makefile
- mute most of the commands
- replace github.com/tendermint/tendermint with just "."
- introduce PACKAGES variable
- delete unused NEWLINE
8 years ago
Ethan Buchman
ac443fa61f
run tests from bash script
8 years ago
Ethan Buchman
08f2b5bc84
get deps for testing
8 years ago
Anton Kalyaev
b096651e10
fix glide error: unable to export dependencies to vendor directory
```
[ERROR] Unable to export dependencies to vendor directory: remove /home/vagrant/go/src/github.com/tendermint/tendermint/vendor/golang.org/x/sys/unix: directory not empty
```
8 years ago
Ethan Buchman
8fd216b4f6
run CI tests in docker container
9 years ago
Ethan Buchman
cb6c3fb0b6
integrations tests and coverage badge
9 years ago