Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 16 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,41 @@
sudo: false
sudo: true

language: node_js

node_js:
- "0.12"
- "4"
- "5"
- "6"

cache:
directories:
# cache node modules
- $HOME/.npm
- $HOME/.yarn-cache
- node_modules

notifications:
# disable email notification
email: false

install:
before_install:
# Repo for Yarn
- sudo apt-key adv --keyserver pgp.mit.edu --recv D101F7899D41F3C3
- echo "deb http://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
- sudo apt-get update -qq
- sudo apt-get install -y -qq yarn
- yarn global add coveralls

install: yarn

before_script:
# use firefox
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- npm i
- npm install -g coveralls

script:
# remove unused node modules from cache
- npm prune
# karma tests
- npm test

script: yarn test

after_script:
# send code-coverage report to coveralls
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"rxjs": "^5.0.0-beta.12 || ^5.0.0-rc.1"
},
"dependencies": {
"apollo-client-rxjs": "~0.2.1",
"apollo-client-rxjs": "~0.2.2",
"lodash.assign": "^4.0.9",
"lodash.forin": "^4.2.0",
"lodash.isequal": "^4.2.0"
Expand Down
Loading