From e383db1f3e63028ea232f5158c5be1a561d5a35f Mon Sep 17 00:00:00 2001 From: jxom Date: Thu, 15 Nov 2018 18:55:09 +1100 Subject: [PATCH] Replace Circle CI in favour of Travis (which we already had a config for) --- .circleci/config.yml | 24 ------------------------ .travis.yml | 19 +++++++------------ 2 files changed, 7 insertions(+), 36 deletions(-) delete mode 100644 .circleci/config.yml 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