Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
50 changes: 47 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,28 @@
#
version: 2
jobs:
remix-libs:
docker:
# specify the version you desire here
- image: circleci/node:10.18.0-browsers

# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
# documented at https://circleci.com/docs/2.0/circleci-images/
resource_class: xlarge
# - image: circleci/mongo:3.4.4
environment:
- COMMIT_AUTHOR_EMAIL: "[email protected]"
- COMMIT_AUTHOR: "Circle CI"
working_directory: ~/remix-project

steps:
- checkout
- run: npm install
- run: npm run lint:libs
- run: npm run build:libs
- run: npm run test:libs

remix-ide-chrome:
docker:
# specify the version you desire here
Expand All @@ -25,6 +47,9 @@ jobs:
- checkout
- run: npm install
- run: npm run lint
- run: npm run build:libs
- run: npm run downloadsolc_root
- run: npm run build
- run:
name: Download Compatible JAVA Version for Selenium
command: |
Expand Down Expand Up @@ -67,6 +92,9 @@ jobs:
- checkout
- run: npm install
- run: npm run lint
- run: npm run build:libs
- run: npm run downloadsolc_root
- run: npm run build
- run:
name: Download Selenium
command: ./node_modules/.bin/selenium-standalone install --config=../remix-project/apps/remix-ide/seleniumConfig.js
Expand Down Expand Up @@ -106,6 +134,9 @@ jobs:
- checkout
- run: npm install
- run: npm run lint
- run: npm run build:libs
- run: npm run downloadsolc_root
- run: npm run build
- run:
name: Download Compatible JAVA Version for Selenium
command: |
Expand Down Expand Up @@ -146,6 +177,9 @@ jobs:
- checkout
- run: npm install
- run: npm run lint
- run: npm run build:libs
- run: npm run downloadsolc_root
- run: npm run build
- run:
name: Deploy
command: |
Expand Down Expand Up @@ -175,6 +209,9 @@ jobs:
- checkout
- run: npm install
- run: npm run lint
- run: npm run build:libs
- run: npm run downloadsolc_root
- run: npm run build
- run:
name: Deploy
command: |
Expand All @@ -188,9 +225,16 @@ workflows:
version: 2
build_all:
jobs:
- remix-ide-chrome
- remix-ide-firefox
- remix-ide-run-deploy
- remix-libs
- remix-ide-chrome:
requires:
- remix-libs
- remix-ide-firefox:
requires:
- remix-libs
- remix-ide-run-deploy:
requires:
- remix-libs
- deploy-remix-live:
requires:
- remix-ide-chrome
Expand Down
3 changes: 2 additions & 1 deletion libs/remix-analyzer/.eslintrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"extends": "../../.eslintrc",
"rules": {
"@typescript-eslint/no-explicit-any": "off"
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-unused-vars": "off"
},
"ignorePatterns": ["!**/*"]
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ export default class lowLevelCalls implements AnalyzerModule {
report (compilationResults: CompilationResult): ReportObj[] {
const version = getCompilerVersion(compilationResults.contracts)
return this.llcNodes.map((item, i) => {
let text: string = ''
let morehref: string = ''
let text = ''
let morehref = ''
switch (item.type) {
case lowLevelCallTypes.CALL:
text = `Use of "call": should be avoided whenever possible.
Expand Down
1 change: 1 addition & 0 deletions libs/remix-debug/src/solidity-decoder/internalCallTree.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,7 @@ class InternalCallTree {
let functions = []
if (!scopeId) return functions
let i = 0
// eslint-disable-next-line no-constant-condition
while (true) {
i += 1
if (i > 1000) throw new Error('retrieFunctionStack: recursion too deep')
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@
"nightwatch_local_fileManager": "nightwatch ./apps/remix-ide/test-browser/tests/fileManager_api.test.js --config apps/remix-ide/nightwatch.js --env chrome ",
"nightwatch_local_runAndDeploy": "nightwatch ./apps/remix-ide/test-browser/tests/runAndDeploy.js --config apps/remix-ide/nightwatch.js --env chrome-runAndDeploy ",
"onchange": "onchange apps/remix-ide/build/app.js -- npm-run-all lint",
"prepublish": "mkdirp build; npm-run-all -ls downloadsolc_root build:libs build",
"remixd": "remixd -s ./apps/remix-ide/contracts --remix-ide http://127.0.0.1:8080",
"selenium": "selenium-standalone start",
"selenium-install": "selenium-standalone install",
Expand Down