Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare to Firebase 3 Upgrade #1

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

jpventura
Copy link

These modifications are preparatory steps before actually updating the project to the latest Firebase and Backbone versions:

  • Travis CI is falling because it is not finding npm and karma-cli in order to perform the tests (seems like they are not installed on the VMs).
  • We just need configure before_install option at .travis.yml, ensuring that packages are present before starting the unit tests.
  • Package dependencies were updated to their latest versions, except Firebase and Backbone.

Fix: googlearchive#157

abeisgoat and others added 9 commits November 9, 2016 09:36
Travis CI is falling because it is not finding npm and karma-cli in order
to perform the tests (seems like they are not installed on the VMs).

We just need configure before_install option at .travis.yml, ensuring that
packages are present before starting the unit tests.
Update all files that mention BackboneFire reference number to v0.5.1.
Minor .gitignore upgrade:
  - Remove duplicated folders
  - Upgrade list of automatically created files that should be ignored
  - Use GitHub Node.js .gitignore template (see https://goo.gl/hx0XE)
  - Also ignore Emacs and VSCode automatic files
Update required in order to Travis CI run the unit tests
Updated all package dependencies to its latest version, except Firebase
and Backbone. This is an intermediary step before actually upgrading to
latest backend version.

Removed gulp-server and use gulp-contrib-connect instead (updating
Gruntfile.js task also is required to perform the unit tests).

We also installed chai and sinon because they are required by karma-chai
and karma-sinon respectivelly.
Fix Backbone.Firebase.Collection#fetch test to properly check if a
collection was successfully synced with Firebase backend.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants