Commit Graph

40 Commits

Author SHA1 Message Date
Raul Jordan
8cfbf0309d
Resolve Proto Lint Issues (#3044)
* skip proto lint

* golang ci lint no -t flag

* regenerate protos to match schema

* move to compatibility folder

* build file compatibility

* foo
2019-07-22 14:10:17 -05:00
frederickalcantara
a170c69653 upgrading linter from gometalinter to golangci-lint (#2100)
* upgrading linter from gometalinter to golangci-lint

* fixed golangci-lint linting

* removed linting before_script command

* removed disable-all command

* Fixed golang config file

* fixed golang config file v2

* removed gosec issue rule

* formatting

* fixed travis build to run golangci-lint

* Add install golangci-lint command

* fixing golangci-lint script

* removed https://

* Added golangci-lint cmd script

* added go get for local lint install

* created a before_script

* add install before script

* Added get script

* added go mod download

* removed go mod downloads

* changed

* removed before script

* Added before script go get lint

* added exit zero to see what went wrong

* removed golang run script

* removed before script

* change lint command

* verbose output

* removed verbose

* change linter enable and disable configuration

* Update .golangci.yml

Removed gotype as a linter

* Update .golangci.yml

Added typecheck linter

* Update .golangci.yml

Added fixed lint version

* Update .golangci.yml

Added gotype

* Update .golangci.yml

Added typecheck

* removed env:lint

* Added env lint

* fixing lint upgrade

* Changing travis configuration

* FIxed spelling errors

* disabled typecheck

* Enabled typecheck

* remove binary

* Deleting lib binary

* adding more linters

* fixed constants

* fix spelling

* fixed all lint issues

* Revert "Changing travis configuration"

This reverts commit 334afe9d05e96261b01f275aa3ada20e7f36aac4.

* Merge branch 'master' of https://github.com/prysmaticlabs/prysm into update-linter

* Changed from Infof to Info

* Fixing commits

* fixing commits with linter config

* added install

* Fixing

* fix log statement
2019-04-26 14:24:01 +08:00
Nishant Das
775f4d64a5
Update Travis (#2215)
* update travis

* update binutils

* upgrade binutils version

* remove cache

* none of this works

* upgrade ubuntu version

* lint fixes
2019-04-09 09:57:09 +08:00
Preston Van Loon
43357293cd
Fix travis (again) (#1503)
* does this fix it?

* does this fix it?
2019-02-05 20:38:29 -05:00
Preston Van Loon
4b27b8408b
Fix travis (#1493)
* fix travis

* test 2

* goimports

* Remove unused p2p config

* remove unused var
2019-02-05 10:46:32 -05:00
Preston Van Loon
da891edca4
Remove coverage from travis (#1431) 2019-01-30 05:19:52 -05:00
Preston Van Loon
ef04e1efdb
Update .travis.yml (#1238) 2019-01-03 21:47:28 -05:00
Raul Jordan
50b364728c Exclude Protos from Gometalinter in Travis (#1170)
* travis

* added config
2018-12-24 13:35:34 +08:00
Yutaro Mori
4c657fef04 Proposal to upgrade to 1.11 (#652) 2018-10-13 13:23:41 +08:00
Preston Van Loon
cce5884aab
Moving solidity lint check to bazel / buildkite (#629)
* Add solium dependency

* gazelle

* Remove step from travis
2018-10-07 13:20:59 -04:00
Preston Van Loon
ebe5fe2a02
Moving slow tasks from Travis to Buildkite (#621)
* Update BUILD.bazel

* Update check_gazelle.sh

* Update check_gazelle.sh

* Update check_visibility.sh

* Revert "Update BUILD.bazel"

This reverts commit 8d631fc49af38268e16d622a2002bea040a08d37.

* remove travis slow bazel builds

* Add buildkite build status
2018-10-03 21:16:44 -04:00
Preston Van Loon
a57b19beb4 Disable remote caching for now (#612)
* Disable remote caching for now

* Update .travis.yml
2018-10-03 14:28:00 -04:00
terence tsao
c73f4c0fd3 Enable Remote Caching & Use Host GO Version (#578)
* Revert "Add Skip Coverage Condition in Coverage.sh (#416)"

This reverts commit 72a5dd1cf4.

* add coverage.sh back

* remote cache

* fixed formatting

* Add support for cache reads and writes

* trying to get this newline to not be escaped. please behave travis

* last attempt at new line...
2018-09-26 20:08:00 -04:00
Zach Zundel
f3774edeb1 Pending TODO Script Checker in Codebase (#540)
* TODO script

* Add todo to Travis

* Remove blame from todo check

* Print failing todo comments

* Fail on failure

* Fix todo checker

* Don't install godeps

* *actually* don't install godeps
2018-09-22 18:07:03 -04:00
Preston Van Loon
2c3d2032e4 Update travis to use bazel 0.17.1 (#522) 2018-09-16 18:27:02 +02:00
Preston Van Loon
ab3c0efdba
Add MacOS to travis CI (#491)
* cleanup bazel install script, bump to 0.16.0, add osx to build/test

* add osx as a different entry in the build matrix

* reorganize build matrix
2018-09-09 22:50:04 -04:00
Raul Jordan
4937da5c7d
Update Documentation + Create a Subproject for Important Markdown Docs (#451)
* add docs folder for markdowns

* create scripts project, move readmes

* update all docs

* fix travis
2018-09-01 21:25:06 -05:00
terence tsao
b7bf48bc3e Fixed NewSimulatedBackend (#405)
* sync functions for active and crystallized states

* make pb structure more semantic

* use run func to consolidate to one main routine

* remove mainchain package

* remove smc. yay!

* fixed NewSimulatedBackend

* added smc tests back

* race = off

* used latest commit from bazel-go-ethereum

* changed testoutput to all

* output test.log after failure

* disable race

* restore travis config to original state, add race=off to blockchain workspace

* added issue number and fixed typo
2018-08-16 15:37:53 -06:00
Raul Jordan
2c88b4770f
Added Travis Discord Bot (#383) 2018-08-07 13:46:11 -05:00
Preston Van Loon
36965bee5e Testing Codecov (#375) 2018-08-06 22:58:21 -05:00
terence tsao
7a1f5869c2 contracts: Add Solidity Linter to Travis (#376) 2018-08-06 10:12:55 -05:00
Preston Van Loon
bb29e367d5 Add Golint (#344) 2018-07-28 21:18:56 -04:00
Preston Van Loon
5776e573ed Add script to ensure visibility is OK (#332)
* Add script to ensure visibility is OK

* typo

* another typo
2018-07-26 13:13:07 +08:00
Preston Van Loon
48b047fd61
Add Docker Container Images for beacon-chain and client (#314)
* Add docker container images for beacon-chain and client

* Add docker section to README
2018-07-22 13:31:43 -04:00
Raul Jordan
92af8bc351 Rename Entire Project to Repo, Change Import Paths and Readmes (#298)
Former-commit-id: b7b8bbd10777012ae6f7d30eb6b05c3b1c3ec5d3 [formerly 06e1112fa0e1092a7137186d3a386972daa2effe]
Former-commit-id: ff2bc760c9dafb6250f056606eb2cbf96b6afa5b
2018-07-20 16:31:26 -05:00
Preston Van Loon
77267169ea Add More Lint Rules With gometalinter (#284)
* turn up linter to 11

* Added extra linting rules and fixed all lint issues

* add deadline of 10m


Former-commit-id: 632999fcaa8370516d6fe76c28c503cb2e3319b7 [formerly d4354f631b1eb4f7918cde28bf063f756ae92a54]
Former-commit-id: 3aaf78a56b76850b0123d61551ac554ccecfe9ad
2018-07-15 15:06:36 -04:00
Preston Van Loon
fa15f552b1 Disable Remote Execution For Now (#283)
* Disable remote execution for now

Will be addressed in #282

* fix typo

* Update .travis.yml


Former-commit-id: 5fc014164e759968db5193e1a07169283734f2bc [formerly d19ffd0ad589160d55b2303d92e9496f12fcd1ee]
Former-commit-id: 87e1067efc929ac7ca46036ec6b600f4a11e4e91
2018-07-15 13:28:38 -04:00
Preston Van Loon
aae781531a Use remote config for travis builds when possible (#241)
* use remote config

* fix bash


Former-commit-id: 2a7b342baea6168970088d547313d7517ec0d6d9 [formerly d1adf6e65b1bb505eea12cf65499a72713621ca2]
Former-commit-id: e0dba82a206e174178373561d497152e47300aaf
2018-07-08 17:23:24 -04:00
Preston Van Loon
20e9af4532 fix travis (#239)
Former-commit-id: 898c0ae1194d1f17811086d8ef5f68f15b478184 [formerly 97babbfad351e385c24c59a50d0a3d42dc7717c5]
Former-commit-id: ee689e2c8a8a246df40fdc14dfceb6ca2b5b2a5f
2018-07-08 15:22:41 -04:00
Preston Van Loon
7229db3271 Bazel cache for travis (#236)
* use google cloud storage for remote caching

* install gcloud

* poke readme to kick travis

* Remove cache thing

* unpoke README

* remove tabs from copy paste

* fix more tabs... what happened?

* fix formatting i think

* parsable yml

* try to cache the cloud sdk tools

* add gcloud to path

* dont need gcloud

* move service account to home directory

* lets try tmp directory


Former-commit-id: 0e844dc112bf6a78e0f3c24eb1ca4ce1ba4f376a [formerly c8106e91a46e7db40710f637bab3658fa9686cc4]
Former-commit-id: f9c69ca80a9a110568bf932eb913f3408f953e56
2018-07-07 16:01:58 -04:00
Preston Van Loon
68eba02cc2 Remove most of the remaining geth code and set up bazel (#235)
* Remove most of the remaining geth code and set up bazel for this

* chmod +x

* Add flake check

* better flake detection


Former-commit-id: 5c332ecbf2923943f646f1fe40befa95be883329 [formerly 99590fc354514584700e5ce8d7d30a8a7d541f29]
Former-commit-id: e5f919b553fe698e98090965d34eb721990b5693
2018-07-07 13:23:19 -04:00
Raul Jordan
b9cb8a8194 sharding: fetch from upstream but keep travis the same
Former-commit-id: 75db983a69c7061e250b2756e5917ac5dd1ff7d2 [formerly 6e8e11322b931a70b5f2db8b5413c945834143fe]
Former-commit-id: 8de7b4c58f421e45bff2f0af167e2f2a27ddac49
2018-05-16 16:44:56 -04:00
Preston Van Loon
43eb0e6187 Only run travis tests on go 1.10
Former-commit-id: 2ee7fe6d48d1936fec489c2018e89e84bccba50f [formerly a0e110a5a4563fee0ff9eaeef3695cce3cd84e76]
Former-commit-id: 0d75e8025a355cbe757f0bf01daba8640dbfe114
2018-05-03 13:04:11 -04:00
Eli
113c4a5711 tests: golint fixes for tests directory (#16640)
Former-commit-id: cef7afc0f6bc8b89a0c94bb0ece1c4992d8a455a [formerly 09f38dc0ed6735f7b21993d462a70de57cdaaea8]
Former-commit-id: c0c5fc2fc3d829175942cfaf69ccc3075dd8dbde
2018-05-02 11:20:19 +03:00
Eli
1cf6747d06 whisper: Golint fixes in whisper packages (#16637)
Former-commit-id: 6a2a7c34e451465eae5d78f76e310e36a412d848 [formerly 6294fcfb3a206061cc8f9309f945f9b0c5a332a2]
Former-commit-id: e2d352442cc4b45620454ac6ece0f8d3d564ed11
2018-05-02 08:17:17 +02:00
Fynn
eb70fc73cd Merge branch 'master' of https://github.com/ethereum/go-ethereum into geth-sharding
Former-commit-id: 25dc367490dd16ef4fa1d462118aa438df1b319a [formerly 6fab78aeb8b9f54fddbad1406f97392b753a830a]
Former-commit-id: 0de0bb3ef9af1735ac8ecd1aefe2d57c0f76c62d
2018-03-23 19:10:53 +01:00
Fynn
5b5cae693f accounts/abi: use unpackTuple to unpack event arguments
Events with just 1 argument fail before this change


Former-commit-id: 69cbb51c56054208417e464dc6e46a94ccb3bbeb [formerly fbb03244929beb0ce8f9c607ce33d107e8319b89]
Former-commit-id: 984154c1ba79f1fe8bf0106a604b2765ea312079
2018-02-16 11:46:25 +01:00
Preston Van Loon
49161d6fb3 Disable distributable travis tasks
Former-commit-id: 1a08abffde1f2026b853cd99f30ba1d140ce853f [formerly 9c285fb06658ecaba9a201f3e1a5aea55be7b2de]
Former-commit-id: 98c1200f658248301987fe7e051348aecf820980
2018-02-09 19:06:24 -05:00
Raul Jordan
da20785685 Merge branch 'master' into gitter-badge-1
Former-commit-id: 23f542f43b4b493e38f5aa4c29788ed93a63b43b [formerly 71b23a6a28eb045fcfeab6329de69f1e5455486b]
Former-commit-id: d12b3a6decc876f010a71f98e11df7387c1aaf2a
2018-01-13 17:31:28 -05:00
Fynn
8bf9cd853f FreeBSD support
Former-commit-id: ff5dba816571945e8c0837f3ef52485da5fd7314 [formerly 2f23f618fd8f01331b593ab4e064138047fe7c77]
Former-commit-id: 1ec5e7440481e307be5e131ac0a416fd7d2fea9f
2015-07-28 19:16:16 -03:00