diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index d0939698e..000000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,24 +0,0 @@ -# https://circleci.com/docs/2.0/language-javascript/ -version: 2 -jobs: - build: - docker: - - image: circleci/node:10.10 - working_directory: ~/repo - - steps: - - checkout - - - restore_cache: - keys: - - v1-dependencies-{{ checksum "package.json" }} - - v1-dependencies- - - - run: yarn install - - - save_cache: - paths: - - node_modules - key: v1-dependencies-{{ checksum "package.json" }} - - - run: yarn test diff --git a/.travis.yml b/.travis.yml index 06e30d936..32883a2dc 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,16 +1,11 @@ -sudo: false - language: node_js node_js: - 8 - +cache: + - yarn before_install: - - npm install codecov.io coveralls - -after_success: - - cat ./coverage/lcov.info | ./node_modules/codecov.io/bin/codecov.io.js - - cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js - -branches: - only: - - master + - curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.12.0 + - export PATH=$HOME/.yarn/bin:$PATH +script: + - yarn test + - yarn build