diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-03-11 18:25:10 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-03-11 20:25:06 +0900 |
commit | 34f96a6b7531d161aa8e79296b392366eb4d94ce (patch) | |
tree | 782da3e9d92efc65201623f00ca4640219412ba6 | |
parent | 70db6d29cf2ca1e15403b793d656d38eef2aabac (diff) |
Merge to single job
-rw-r--r-- | .circleci/config.yml | 30 |
1 files changed, 5 insertions, 25 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index 2831d12..f250125 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,8 +1,8 @@ version: 2 jobs: - install_firefox: + build: docker: - - image: circleci/node:9-stretch + - image: circleci/node:9-stretch-browsers environment: - FIREFOX_VERSION: "59.0b9" working_directory: ~ @@ -23,10 +23,8 @@ jobs: key: firefox-bin paths: - ~/firefox - npm_install: - docker: - - image: circleci/node:9-stretch-browsers - steps: + - run: sudo apt-get update && sudo apt-get install -y libgtk-3-0 libdbus-glib-1-2 + - checkout - restore_cache: key: dependency-cache-{{ checksum "package.json" }} @@ -37,14 +35,7 @@ jobs: key: dependency-cache-{{ checksum "package.json" }} paths: - node_modules - build: - docker: - - image: circleci/node:9-stretch-browsers - environment: - - FIREFOX_VERSION: "59.0b9" - steps: - - run: sudo apt-get update && sudo apt-get install -y libgtk-3-0 libdbus-glib-1-2 - - checkout + - restore_cache: key: firefox-bin - restore_cache: @@ -56,14 +47,3 @@ jobs: - run: npm run build - run: npm run ambassador:build - run: node e2e/web-server & npm run test:e2e - -workflows: - version: 2 - build_and_test: - jobs: - - install_firefox - - npm_install - - build: - requires: - - install_firefox - - npm_install |