diff --git a/.circleci/config.yml b/.circleci/config.yml index f6aa179..aa39b49 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,7 +6,7 @@ jobs: working_directory: ~/meteor-coverage steps: - checkout - - run: curl https://install.meteor.com | /bin/sh + - run: npm install -g meteor - run: meteor npm install - run: mkdir .coverage - run: meteor npm test diff --git a/.travis.yml b/.travis.yml index e155174..dc5ace1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,7 @@ addons: chrome: stable node_js: - - "8.9.1" + - "14" cache: directories: @@ -18,17 +18,22 @@ before_cache: before_install: # Download Meteor - Keep in mind that you need # to remove your travis cache to get meteor updates - - export PATH="$HOME/.meteor:$PATH" - - curl https://install.meteor.com/?release=1.8 | /bin/sh - + - export PATH="$HOME/.meteor:$PATH:$(npm bin -g)" + - npm install -g meteor + # Install dependencies - npm install -g eslint coveralls codecov.io codacy-coverage + - npm list -g + - env + - meteor-installer uninstall + - meteor-installer install - meteor npm install services: - xvfb script: + - ls "$HOME/.meteor" - meteor npm test - sed 's/packages\/meteor-coverage\///' someapp/.coverage/lcov.info | coveralls || true # ignore coveralls error - sed 's/packages\/meteor-coverage\///' someapp/.coverage/lcov.info | codecov || true # ignore codecov error