Przeglądaj źródła

build: removes deploy from nightly while testing it.

Leonard Gram 7 lat temu
rodzic
commit
1b85b2fca7
2 zmienionych plików z 2 dodań i 10 usunięć
  1. 1 9
      .circleci/config.yml
  2. 1 1
      scripts/build/download-phantomjs.sh

+ 1 - 9
.circleci/config.yml

@@ -57,7 +57,6 @@ jobs:
           command: 'sudo npm install -g yarn --quiet'
       - restore_cache:
           key: dependency-cache-{{ checksum "yarn.lock" }}
-      # Could we skip this step if the cache has been restored? `[ -d node_modules ] || yarn install ...` should be able to apply to build step as well
       - run:
           name: yarn install
           command: 'yarn install --pure-lockfile --no-progress'
@@ -221,9 +220,9 @@ workflows:
           filters: *filter-not-release
       - deploy-master:
           requires:
+            - build
             - test-backend
             - test-frontend
-            - build
             - codespell
             - gometalinter
           filters:
@@ -264,10 +263,3 @@ workflows:
       - gometalinter
       - test-frontend
       - test-backend
-      - deploy-master:
-          requires:
-            - build-all
-            - codespell
-            - gometalinter
-            - test-frontend
-            - test-backend

+ 1 - 1
scripts/build/download-phantomjs.sh

@@ -1,7 +1,7 @@
 #!/bin/bash -e
 
 if [ ! -d '/tmp/phantomjs' ]; then
-  _version="2.1.16"
+  _version="2.1.1"
 
   curl -L https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-$_version-windows.zip > /tmp/phantomjs-win.zip
   curl -L https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-$_version-macosx.zip > /tmp/phantomjs-mac.zip