Skip to content

Commit

Permalink
Fix travis
Browse files Browse the repository at this point in the history
  • Loading branch information
theodorDiaconu committed Sep 17, 2019
1 parent 243ebee commit 560f518
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,15 @@ sudo: required
addons:
chrome: stable

dist: xenial

services:
- xvfb

language: node_js

node_js:
- '8.9.1'
- "8.9.1"

before_install:
- curl https://install.meteor.com | /bin/sh
Expand All @@ -14,20 +19,18 @@ before_install:
cache:
directories:
- ~/.npm
- 'node_modules'
- "node_modules"

notifications:
email: false

before_script:
- 'export DISPLAY=:99.0'
- 'sh -e /etc/init.d/xvfb start'
- sleep 3

script:
- meteor create --bare test
- meteor create --release 1.8.1 --bare test
- cd test
- meteor npm i --save selenium-webdriver@3.0.0-beta-2 chromedriver simpl-schema chai meteor-apollo-accounts
- meteor npm i --save selenium-webdriver@3.6.0 chromedriver@2.36.0 simpl-schema chai meteor-apollo-accounts
- meteor npm i -S graphql graphql-load apollo-server-express uuid graphql-tools graphql-type-json apollo-live-server apollo-link-schema react-dom react-router react-apollo react
- meteor npm i -S apollo-live-client apollo-upload-client apollo-client graphql-tag apollo-cache-inmemory apollo-link apollo-link-http apollo-link-ws apollo-morpher subscriptions-transport-ws
- METEOR_PACKAGE_DIRS="../" TEST_BROWSER_DRIVER=chrome meteor test-packages --once --driver-package meteortesting:mocha ../

0 comments on commit 560f518

Please sign in to comment.