|
|
@ -4,7 +4,7 @@ |
|
|
|
# |
|
|
|
# |
|
|
|
version: 2 |
|
|
|
version: 2 |
|
|
|
jobs: |
|
|
|
jobs: |
|
|
|
remix-ide: |
|
|
|
remix-ide-chrome-1: |
|
|
|
docker: |
|
|
|
docker: |
|
|
|
# specify the version you desire here |
|
|
|
# specify the version you desire here |
|
|
|
- image: circleci/node:9.11.2-browsers |
|
|
|
- image: circleci/node:9.11.2-browsers |
|
|
@ -12,6 +12,69 @@ jobs: |
|
|
|
# Specify service dependencies here if necessary |
|
|
|
# Specify service dependencies here if necessary |
|
|
|
# CircleCI maintains a library of pre-built images |
|
|
|
# CircleCI maintains a library of pre-built images |
|
|
|
# documented at https://circleci.com/docs/2.0/circleci-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: "assets background.js build icon.png index.html manifest.json README.md soljson.js package.json" |
|
|
|
|
|
|
|
working_directory: ~/remix-ide |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
steps: |
|
|
|
|
|
|
|
- checkout |
|
|
|
|
|
|
|
- run: npm install |
|
|
|
|
|
|
|
- run: npm run lint && npm run test && npm run make-mock-compiler |
|
|
|
|
|
|
|
- run: |
|
|
|
|
|
|
|
name: Download Selenium |
|
|
|
|
|
|
|
command: ./node_modules/.bin/selenium-standalone install --config=../remix-ide/seleniumConfig.js |
|
|
|
|
|
|
|
- run: |
|
|
|
|
|
|
|
name: Start Selenium |
|
|
|
|
|
|
|
command: ./node_modules/.bin/selenium-standalone start --config=../remix-ide/seleniumConfig.js |
|
|
|
|
|
|
|
background: true |
|
|
|
|
|
|
|
- run: ./ci/browser_tests_chrome_part1.sh |
|
|
|
|
|
|
|
- store_artifacts: |
|
|
|
|
|
|
|
path: ./reports/screenshots |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
remix-ide-chrome-2: |
|
|
|
|
|
|
|
docker: |
|
|
|
|
|
|
|
# specify the version you desire here |
|
|
|
|
|
|
|
- image: circleci/node:9.11.2-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: "assets background.js build icon.png index.html manifest.json README.md soljson.js package.json" |
|
|
|
|
|
|
|
working_directory: ~/remix-ide |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
steps: |
|
|
|
|
|
|
|
- checkout |
|
|
|
|
|
|
|
- run: npm install |
|
|
|
|
|
|
|
- run: npm run lint && npm run test && npm run make-mock-compiler |
|
|
|
|
|
|
|
- run: |
|
|
|
|
|
|
|
name: Download Selenium |
|
|
|
|
|
|
|
command: ./node_modules/.bin/selenium-standalone install --config=../remix-ide/seleniumConfig.js |
|
|
|
|
|
|
|
- run: |
|
|
|
|
|
|
|
name: Start Selenium |
|
|
|
|
|
|
|
command: ./node_modules/.bin/selenium-standalone start --config=../remix-ide/seleniumConfig.js |
|
|
|
|
|
|
|
background: true |
|
|
|
|
|
|
|
- run: ./ci/browser_tests_chrome_part2.sh |
|
|
|
|
|
|
|
- store_artifacts: |
|
|
|
|
|
|
|
path: ./reports/screenshots |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
remix-ide-firefox-1: |
|
|
|
|
|
|
|
docker: |
|
|
|
|
|
|
|
# specify the version you desire here |
|
|
|
|
|
|
|
- image: circleci/node:9.11.2-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 |
|
|
|
# - image: circleci/mongo:3.4.4 |
|
|
|
environment: |
|
|
|
environment: |
|
|
|
- COMMIT_AUTHOR_EMAIL: "yann@ethereum.org" |
|
|
|
- COMMIT_AUTHOR_EMAIL: "yann@ethereum.org" |
|
|
@ -36,18 +99,133 @@ jobs: |
|
|
|
- run: |
|
|
|
- run: |
|
|
|
name: Install Firefox |
|
|
|
name: Install Firefox |
|
|
|
command: sudo dpkg -i firefox-mozilla-build_73.0.1-0ubuntu1_amd64.deb |
|
|
|
command: sudo dpkg -i firefox-mozilla-build_73.0.1-0ubuntu1_amd64.deb |
|
|
|
- run: ./ci/browser_tests.sh |
|
|
|
- run: ./ci/browser_tests_firefox_part1.sh |
|
|
|
|
|
|
|
- store_artifacts: |
|
|
|
|
|
|
|
path: ./reports/screenshots |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
remix-ide-firefox-2: |
|
|
|
|
|
|
|
docker: |
|
|
|
|
|
|
|
# specify the version you desire here |
|
|
|
|
|
|
|
- image: circleci/node:9.11.2-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: "assets background.js build icon.png index.html manifest.json README.md soljson.js package.json" |
|
|
|
|
|
|
|
working_directory: ~/remix-ide |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
steps: |
|
|
|
|
|
|
|
- checkout |
|
|
|
|
|
|
|
- run: npm install |
|
|
|
|
|
|
|
- run: npm run lint && npm run test && npm run make-mock-compiler |
|
|
|
|
|
|
|
- run: |
|
|
|
|
|
|
|
name: Download Selenium |
|
|
|
|
|
|
|
command: ./node_modules/.bin/selenium-standalone install --config=../remix-ide/seleniumConfig.js |
|
|
|
|
|
|
|
- run: |
|
|
|
|
|
|
|
name: Start Selenium |
|
|
|
|
|
|
|
command: ./node_modules/.bin/selenium-standalone start --config=../remix-ide/seleniumConfig.js |
|
|
|
|
|
|
|
background: true |
|
|
|
|
|
|
|
- run: |
|
|
|
|
|
|
|
name: Download Latest Firefox |
|
|
|
|
|
|
|
command: sudo apt-get purge -y firefox && wget https://sourceforge.net/projects/ubuntuzilla/files/mozilla/apt/pool/main/f/firefox-mozilla-build/firefox-mozilla-build_73.0.1-0ubuntu1_amd64.deb |
|
|
|
|
|
|
|
- run: |
|
|
|
|
|
|
|
name: Install Firefox |
|
|
|
|
|
|
|
command: sudo dpkg -i firefox-mozilla-build_73.0.1-0ubuntu1_amd64.deb |
|
|
|
|
|
|
|
- run: ./ci/browser_tests_firefox_part2.sh |
|
|
|
|
|
|
|
- store_artifacts: |
|
|
|
|
|
|
|
path: ./reports/screenshots |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
remix-ide-run-deploy: |
|
|
|
|
|
|
|
docker: |
|
|
|
|
|
|
|
# specify the version you desire here |
|
|
|
|
|
|
|
- image: circleci/node:9.11.2-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: "assets background.js build icon.png index.html manifest.json README.md soljson.js package.json" |
|
|
|
|
|
|
|
working_directory: ~/remix-ide |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
steps: |
|
|
|
|
|
|
|
- checkout |
|
|
|
|
|
|
|
- run: npm install |
|
|
|
|
|
|
|
- run: npm run lint && npm run test && npm run make-mock-compiler |
|
|
|
|
|
|
|
- run: |
|
|
|
|
|
|
|
name: Download Selenium |
|
|
|
|
|
|
|
command: ./node_modules/.bin/selenium-standalone install --config=../remix-ide/seleniumConfig.js |
|
|
|
|
|
|
|
- run: |
|
|
|
|
|
|
|
name: Start Selenium |
|
|
|
|
|
|
|
command: ./node_modules/.bin/selenium-standalone start --config=../remix-ide/seleniumConfig.js |
|
|
|
|
|
|
|
background: true |
|
|
|
|
|
|
|
- run: ./ci/browser_tests_run_deploy.sh |
|
|
|
|
|
|
|
- store_artifacts: |
|
|
|
|
|
|
|
path: ./reports/screenshots |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
deploy-remix-live: |
|
|
|
|
|
|
|
docker: |
|
|
|
|
|
|
|
# specify the version you desire here |
|
|
|
|
|
|
|
- image: circleci/node:9.11.2-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: "assets background.js build icon.png index.html manifest.json README.md soljson.js package.json" |
|
|
|
|
|
|
|
working_directory: ~/remix-ide |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
steps: |
|
|
|
|
|
|
|
- checkout |
|
|
|
|
|
|
|
- run: npm install |
|
|
|
|
|
|
|
- run: npm run lint && npm run test && npm run make-mock-compiler |
|
|
|
- run: |
|
|
|
- run: |
|
|
|
name: Deploy |
|
|
|
name: Deploy |
|
|
|
command: | |
|
|
|
command: | |
|
|
|
if [ "${CIRCLE_BRANCH}" == "master" ]; then |
|
|
|
if [ "${CIRCLE_BRANCH}" == "remix_live" ]; then |
|
|
|
./ci/deploy_from_travis_remix-alpha.sh; |
|
|
|
./ci/deploy_from_travis_remix-live.sh; |
|
|
|
fi |
|
|
|
fi |
|
|
|
|
|
|
|
- store_artifacts: |
|
|
|
|
|
|
|
path: ./reports/screenshots |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
deploy-remix-alpha: |
|
|
|
|
|
|
|
docker: |
|
|
|
|
|
|
|
# specify the version you desire here |
|
|
|
|
|
|
|
- image: circleci/node:9.11.2-browsers |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# Specify service dependencies here if necessary |
|
|
|
|
|
|
|
# CircleCI maintains a library of pre-built images |
|
|
|
|
|
|
|
resource_class: xlarge |
|
|
|
|
|
|
|
# documented at https://circleci.com/docs/2.0/circleci-images/ |
|
|
|
|
|
|
|
# - image: circleci/mongo:3.4.4 |
|
|
|
|
|
|
|
environment: |
|
|
|
|
|
|
|
- COMMIT_AUTHOR_EMAIL: "yann@ethereum.org" |
|
|
|
|
|
|
|
- COMMIT_AUTHOR: "Circle CI" |
|
|
|
|
|
|
|
- FILES_TO_PACKAGE: "assets background.js build icon.png index.html manifest.json README.md soljson.js package.json" |
|
|
|
|
|
|
|
working_directory: ~/remix-ide |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
steps: |
|
|
|
|
|
|
|
- checkout |
|
|
|
|
|
|
|
- run: npm install |
|
|
|
|
|
|
|
- run: npm run lint && npm run test && npm run make-mock-compiler |
|
|
|
- run: |
|
|
|
- run: |
|
|
|
name: Deploy |
|
|
|
name: Deploy |
|
|
|
command: | |
|
|
|
command: | |
|
|
|
if [ "${CIRCLE_BRANCH}" == "remix_live" ]; then |
|
|
|
if [ "${CIRCLE_BRANCH}" == "master" ]; then |
|
|
|
./ci/deploy_from_travis_remix-live.sh; |
|
|
|
./ci/deploy_from_travis_remix-alpha.sh; |
|
|
|
fi |
|
|
|
fi |
|
|
|
- store_artifacts: |
|
|
|
- store_artifacts: |
|
|
|
path: ./reports/screenshots |
|
|
|
path: ./reports/screenshots |
|
|
@ -56,4 +234,28 @@ workflows: |
|
|
|
version: 2 |
|
|
|
version: 2 |
|
|
|
build_all: |
|
|
|
build_all: |
|
|
|
jobs: |
|
|
|
jobs: |
|
|
|
- remix-ide |
|
|
|
- remix-ide-chrome-1 |
|
|
|
|
|
|
|
- remix-ide-firefox-1 |
|
|
|
|
|
|
|
- remix-ide-chrome-2 |
|
|
|
|
|
|
|
- remix-ide-firefox-2 |
|
|
|
|
|
|
|
- remix-ide-run-deploy |
|
|
|
|
|
|
|
- deploy-remix-live: |
|
|
|
|
|
|
|
requires: |
|
|
|
|
|
|
|
- remix-ide-chrome-1 |
|
|
|
|
|
|
|
- remix-ide-firefox-1 |
|
|
|
|
|
|
|
- remix-ide-chrome-2 |
|
|
|
|
|
|
|
- remix-ide-firefox-2 |
|
|
|
|
|
|
|
- remix-ide-run-deploy |
|
|
|
|
|
|
|
filters: |
|
|
|
|
|
|
|
branches: |
|
|
|
|
|
|
|
only: remix_live |
|
|
|
|
|
|
|
- deploy-remix-alpha: |
|
|
|
|
|
|
|
requires: |
|
|
|
|
|
|
|
- remix-ide-chrome-1 |
|
|
|
|
|
|
|
- remix-ide-firefox-1 |
|
|
|
|
|
|
|
- remix-ide-chrome-2 |
|
|
|
|
|
|
|
- remix-ide-firefox-2 |
|
|
|
|
|
|
|
- remix-ide-run-deploy |
|
|
|
|
|
|
|
filters: |
|
|
|
|
|
|
|
branches: |
|
|
|
|
|
|
|
only: master |