diff --git a/.circleci/config.yml b/.circleci/config.yml index 6c690fcc1f..f7b1061e29 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -11,11 +11,6 @@ restore_dependency_cache: &restore_dependency_cache - v{{ .Environment.CACHE_VERSION }}-npm-cache-{{ checksum "package.json" }} - v{{ .Environment.CACHE_VERSION }}-npm-cache- -restore_phantomjs_cache: &restore_phantomjs_cache - restore_cache: - keys: - - v{{ .Environment.CACHE_VERSION }}-phantomjs-2.1.1 - set_npm_auth: &set_npm_auth run: npm config set "//registry.npmjs.org/:_authToken" $NPM_AUTH @@ -47,14 +42,6 @@ jobs: steps: - checkout - <<: *restore_dependency_cache - - <<: *restore_phantomjs_cache - - run: - name: PhantomJs - Install or Restore from Cache - command: 'sh .circleci/install-phantomjs.sh' - - save_cache: - key: v{{ .Environment.CACHE_VERSION }}-phantomjs-2.1.1 - paths: - - phantomjs - run: npm run test # Run examples under `doc/examples` diff --git a/.circleci/install-phantomjs.sh b/.circleci/install-phantomjs.sh deleted file mode 100644 index 7e2a6ab6db..0000000000 --- a/.circleci/install-phantomjs.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash - -if [ ! -e phantomjs ]; then - # phantomjs cache does not exist, fetch phantomjs - sudo curl --output phantomjs https://s3.amazonaws.com/circle-downloads/phantomjs-2.1.1 -fi - -# move phantomjs to bin -sudo cp -r phantomjs /usr/local/bin/phantomjs - -# update permissions -sudo chmod ugo+x /usr/local/bin/phantomjs