remix-project mirror
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
remix-project/.circleci/config.yml

48 lines
1.5 KiB

7 years ago
# Javascript Node CircleCI 2.0 configuration file
#
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
#
version: 2
jobs:
7 years ago
remix-ide:
7 years ago
docker:
# specify the version you desire here
- image: circleci/node:9.11.2-browsers
7 years ago
# Specify service dependencies here if necessary
# CircleCI maintains a library of pre-built images
# 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"
7 years ago
working_directory: ~/repo
steps:
- checkout
- restore_cache:
keys:
6 years ago
- dep-bundle-29-{{ checksum "package.json" }}
- run: npm install
- save_cache:
6 years ago
key: dep-bundle-29-{{ checksum "package.json" }}
paths:
7 years ago
- ~/repo/node_modules
- run: npm run lint && npm run test && npm run make-mock-compiler
- run:
name: Download Selenium
command: wget http://selenium-release.storage.googleapis.com/3.5/selenium-server-standalone-3.5.3.jar
- run:
name: Start Selenium
command: java -jar selenium-server-standalone-3.5.3.jar
background: true
7 years ago
- run: ./ci/browser_tests.sh
- run: if [ $CIRCLE_BRANCH == 'master' ]; then ./ci/deploy_from_travis_remix-alpha.sh fi
7 years ago
workflows:
version: 2
build_all:
jobs:
7 years ago
- remix-ide