mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-22 03:30:35 +00:00
Moving solidity lint check to bazel / buildkite (#629)
* Add solium dependency * gazelle * Remove step from travis
This commit is contained in:
parent
1c7af71774
commit
cce5884aab
4
.gitignore
vendored
4
.gitignore
vendored
@ -10,3 +10,7 @@ bazel-*
|
||||
# Coverage outputs
|
||||
coverage.txt
|
||||
profile.out
|
||||
|
||||
# Nodejs
|
||||
node_modules
|
||||
yarn-error.log
|
||||
|
0
.soliumignore
Normal file
0
.soliumignore
Normal file
13
.travis.yml
13
.travis.yml
@ -16,19 +16,6 @@ matrix:
|
||||
script:
|
||||
- ./scripts/coverage.sh
|
||||
- bash <(curl -s https://codecov.io/bash)
|
||||
- language: node_js
|
||||
os: linux
|
||||
env:
|
||||
- solidity
|
||||
node_js:
|
||||
- "lts/*"
|
||||
before_install:
|
||||
- npm install -g solium
|
||||
install: true # Skip npm install.
|
||||
script:
|
||||
# Check solidity linter.
|
||||
- solium -d contracts/
|
||||
|
||||
notifications:
|
||||
email: false
|
||||
|
||||
|
20
WORKSPACE
20
WORKSPACE
@ -28,6 +28,26 @@ load("@io_bazel_rules_docker//docker:docker.bzl", "docker_repositories")
|
||||
|
||||
docker_repositories()
|
||||
|
||||
git_repository(
|
||||
name = "build_bazel_rules_nodejs",
|
||||
remote = "https://github.com/bazelbuild/rules_nodejs.git",
|
||||
tag = "0.15.0",
|
||||
)
|
||||
|
||||
load("@build_bazel_rules_nodejs//:package.bzl", "rules_nodejs_dependencies")
|
||||
|
||||
rules_nodejs_dependencies()
|
||||
|
||||
load("@build_bazel_rules_nodejs//:defs.bzl", "node_repositories", "yarn_install")
|
||||
|
||||
node_repositories()
|
||||
|
||||
yarn_install(
|
||||
name = "npm",
|
||||
package_json = "//:package.json",
|
||||
yarn_lock = "//:yarn.lock",
|
||||
)
|
||||
|
||||
# This requires rules_docker to be fully instantiated before it is pulled in.
|
||||
git_repository(
|
||||
name = "io_bazel_rules_k8s",
|
||||
|
8
package.json
Normal file
8
package.json
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"name": "prysm",
|
||||
"version": "0.0.0",
|
||||
"repository": "git@github.com:prysmaticlabs/prysm.git",
|
||||
"devDependencies": {
|
||||
"solium": "^1.1.8"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user