|
|
|
@ -220,6 +220,40 @@ jobs: |
|
|
|
|
- store_artifacts: |
|
|
|
|
path: ./reports/screenshots |
|
|
|
|
|
|
|
|
|
remix-ide-plugin-manager: |
|
|
|
|
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: "yann@ethereum.org" |
|
|
|
|
- COMMIT_AUTHOR: "Circle CI" |
|
|
|
|
- FILES_TO_PACKAGE: "dist/apps/remix-ide/assets dist/apps/remix-ide/index.html dist/apps/remix-ide/main.js dist/apps/remix-ide/polyfills.js dist/apps/remix-ide/runtime.js dist/apps/remix-ide/vendor.js dist/apps/remix-ide/favicon.ico" |
|
|
|
|
working_directory: ~/remix-project |
|
|
|
|
|
|
|
|
|
steps: |
|
|
|
|
- checkout |
|
|
|
|
- run: npm install |
|
|
|
|
- run: npx nx build remix-ide --with-deps |
|
|
|
|
- run: npx nx build remix-ide-e2e-src-local-plugin |
|
|
|
|
- run: |
|
|
|
|
name: Download Selenium |
|
|
|
|
command: ./node_modules/.bin/selenium-standalone install --drivers.chrome.version=2.39 --drivers.chrome.baseURL=https://chromedriver.storage.googleapis.com |
|
|
|
|
- run: |
|
|
|
|
name: Start Selenium |
|
|
|
|
command: ./node_modules/.bin/selenium-standalone start --drivers.chrome.version=2.39 --drivers.chrome.baseURL=https://chromedriver.storage.googleapis.com |
|
|
|
|
background: true |
|
|
|
|
- run: ./apps/remix-ide/ci/browser_tests_plugin_manager.sh |
|
|
|
|
- store_test_results: |
|
|
|
|
path: ./reports/tests |
|
|
|
|
- store_artifacts: |
|
|
|
|
path: ./reports/screenshots |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
deploy-remix-live: |
|
|
|
|
docker: |
|
|
|
@ -355,6 +389,9 @@ workflows: |
|
|
|
|
- remix-ide-run-deploy: |
|
|
|
|
requires: |
|
|
|
|
- lint |
|
|
|
|
- remix-ide-plugin-manager: |
|
|
|
|
requires: |
|
|
|
|
- lint |
|
|
|
|
- publish: |
|
|
|
|
requires: |
|
|
|
|
- lint |
|
|
|
@ -365,6 +402,7 @@ workflows: |
|
|
|
|
- remix-ide-firefox-1 |
|
|
|
|
- remix-ide-firefox-2 |
|
|
|
|
- remix-ide-run-deploy |
|
|
|
|
- remix-ide-plugin-manager |
|
|
|
|
filters: |
|
|
|
|
branches: |
|
|
|
|
only: remix_live |
|
|
|
@ -375,6 +413,7 @@ workflows: |
|
|
|
|
- remix-ide-firefox-1 |
|
|
|
|
- remix-ide-firefox-2 |
|
|
|
|
- remix-ide-run-deploy |
|
|
|
|
- remix-ide-plugin-manager |
|
|
|
|
filters: |
|
|
|
|
branches: |
|
|
|
|
only: master |
|
|
|
@ -385,6 +424,7 @@ workflows: |
|
|
|
|
- remix-ide-firefox-1 |
|
|
|
|
- remix-ide-firefox-2 |
|
|
|
|
- remix-ide-run-deploy |
|
|
|
|
- remix-ide-plugin-manager |
|
|
|
|
filters: |
|
|
|
|
branches: |
|
|
|
|
only: remix_beta |
|
|
|
|